mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
update {go/py}/stack-trace-exposure to match javascript
This commit is contained in:
@@ -76,5 +76,6 @@ class StackTraceExposureConfig extends TaintTracking::Configuration {
|
||||
|
||||
from StackTraceExposureConfig cfg, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where cfg.hasFlowPath(source, sink)
|
||||
select source.getNode(), source, sink, "This stack trace is exposed to a remote user $@.",
|
||||
sink.getNode(), "here"
|
||||
select sink.getNode(), source, sink,
|
||||
"Stack trace information from $@ may be exposed to an external user here.", source.getNode(),
|
||||
"here"
|
||||
|
||||
@@ -19,5 +19,6 @@ import DataFlow::PathGraph
|
||||
|
||||
from Configuration config, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where config.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "$@ may be exposed to an external user", source.getNode(),
|
||||
"Error information"
|
||||
select sink.getNode(), source, sink,
|
||||
"Stack trace information from $@ may be exposed to an external user here.", source.getNode(),
|
||||
"here"
|
||||
|
||||
Reference in New Issue
Block a user