Skip to content

Commit b899b64

Browse files
boveusalexrford
andauthored
Update ruby/ql/src/experimental/cwe-208/UnsafeHmacComparison.ql
Co-authored-by: Alex Ford <[email protected]>
1 parent 7882cf0 commit b899b64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/ql/src/experimental/cwe-208/UnsafeHmacComparison.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ private module UnsafeHmacComparison {
3838
import DataFlow::Global<Config>
3939
}
4040

41+
private import UnsafeHmacComparison::PathGraph
4142
from UnsafeHmacComparison::PathNode source, UnsafeHmacComparison::PathNode sink
4243
where UnsafeHmacComparison::flowPath(source, sink)
4344
select sink.getNode(), source, sink, "This comparison is potentially vulnerable to a timing attack."

0 commit comments

Comments
 (0)