Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a rule which audits the use of math/big.Int.Exp function call #129

Merged
merged 3 commits into from
Apr 11, 2017
Merged

Add a rule which audits the use of math/big.Int.Exp function call #129

merged 3 commits into from
Apr 11, 2017

Conversation

ccojocar
Copy link
Member

The big.Int.Exp might lead to DoS attacks if is used with a modulus equal with zero.

More details: https://www.cryptologie.net/article/347/my-first-cve-o-common-vulnerabilities-and-exposures/

@gcmurphy
Copy link
Member

Wasn't aware of this attack vector. Thanks!

@gcmurphy gcmurphy merged commit e94e232 into securego:master Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants