mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Java: Fix alert message
The signing key that is being set, is _not_ what is being parsed. A _JWT_ is being parsed, that will then be verified using the set key. (Or in our case not, because we're looking for security problems :P)
This commit is contained in:
@@ -16,5 +16,5 @@ import MissingJwtSignatureCheckFlow::PathGraph
|
||||
|
||||
from MissingJwtSignatureCheckFlow::PathNode source, MissingJwtSignatureCheckFlow::PathNode sink
|
||||
where MissingJwtSignatureCheckFlow::flowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "This parses a $@, but the signature is not verified.",
|
||||
select sink.getNode(), source, sink, "This sets a $@, but the signature is not verified.",
|
||||
source.getNode(), "JWT signing key"
|
||||
|
||||
Reference in New Issue
Block a user