Skip to content

Commit b2c64ea

Browse files
authored
Merge pull request #16572 from github/aibaars-patch-2
Java: include link to `remote source` in TrustBoundaryViolation.ql
2 parents 4fbbda5 + b5b5fef commit b2c64ea

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

java/ql/src/Security/CWE/CWE-501/TrustBoundaryViolation.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ import TrustBoundaryFlow::PathGraph
1616

1717
from TrustBoundaryFlow::PathNode source, TrustBoundaryFlow::PathNode sink
1818
where TrustBoundaryFlow::flowPath(source, sink)
19-
select sink.getNode(), sink, source,
20-
"This servlet reads data from a remote source and writes it to a session variable."
19+
select sink.getNode(), source, sink,
20+
"This servlet reads data from a $@ and writes it to a session variable.", source, "remote source"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The alert message for the query "Trust boundary violation" (`java/trust-boundary-violation`) has been updated to include a link to the remote source.

0 commit comments

Comments
 (0)