1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-05 00:29:02 +02:00

Remove rule G105 which detects the use of math/big#Int.Exp

The big#Int.Exp used to be vulnerable in older versions of Go, but in the
meantime has been fixed (https://github.com/golang/go/issues/15184).

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar
2019-09-09 14:16:26 +02:00
committed by Grant Murphy
parent 43e3664713
commit 338b50debb
5 changed files with 9 additions and 78 deletions

View File

@ -63,7 +63,6 @@ func Generate(filters ...RuleFilter) RuleList {
{"G102", "Bind to all interfaces", NewBindsToAllNetworkInterfaces},
{"G103", "Audit the use of unsafe block", NewUsingUnsafe},
{"G104", "Audit errors not checked", NewNoErrorCheck},
{"G105", "Audit the use of big.Exp function", NewUsingBigExp},
{"G106", "Audit the use of ssh.InsecureIgnoreHostKey function", NewSSHHostKey},
{"G107", "Url provided to HTTP request as taint input", NewSSRFCheck},