mirror of
https://github.com/github/codeql.git
synced 2026-04-11 18:14:01 +02:00
Adjust alert messages CWE-829/ArtifactPoisoning[Critical|Medium]
This commit is contained in:
@@ -21,5 +21,5 @@ where
|
||||
ArtifactPoisoningFlow::flowPath(source, sink) and
|
||||
event = getRelevantEventInPrivilegedContext(sink.getNode())
|
||||
select sink.getNode(), source, sink,
|
||||
"Potential artifact poisoning in $@, which may be controlled by an external user ($@).", sink,
|
||||
sink.getNode().toString(), event, event.getName()
|
||||
"Potential artifact poisoning, which may be controlled by an external user ($@).", event,
|
||||
event.getName()
|
||||
|
||||
@@ -21,5 +21,4 @@ where
|
||||
ArtifactPoisoningFlow::flowPath(source, sink) and
|
||||
inNonPrivilegedContext(sink.getNode().asExpr())
|
||||
select sink.getNode(), source, sink,
|
||||
"Potential artifact poisoning in $@, which may be controlled by an external user.", sink,
|
||||
sink.getNode().toString()
|
||||
"Potential artifact poisoning, which may be controlled by an external user."
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: majorAnalysis
|
||||
---
|
||||
* Fixed alert messages in `actions/artifact-poisoning/critical` and `actions/artifact-poisoning/medium` as they previously included a redundant placeholder in the alert message that would on occasion contain a long block of yml that makes the alert difficult to understand.
|
||||
Reference in New Issue
Block a user