mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update ruby/ql/src/experimental/cwe-208/UnsafeHmacComparison.ql
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
@@ -38,6 +38,7 @@ private module UnsafeHmacComparison {
|
||||
import DataFlow::Global<Config>
|
||||
}
|
||||
|
||||
private import UnsafeHmacComparison::PathGraph
|
||||
from UnsafeHmacComparison::PathNode source, UnsafeHmacComparison::PathNode sink
|
||||
where UnsafeHmacComparison::flowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "This comparison is potentially vulnerable to a timing attack."
|
||||
|
||||
Reference in New Issue
Block a user