mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Fix typos
Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
committed by
Ed Minnix
parent
51006aa088
commit
1f37e70d83
@@ -27,7 +27,7 @@ module ExecTaintedEnvironmentConfig implements DataFlow::ConfigSig {
|
|||||||
predicate isSink(DataFlow::Node sink) {
|
predicate isSink(DataFlow::Node sink) {
|
||||||
sinkNode(sink, "environment-injection")
|
sinkNode(sink, "environment-injection")
|
||||||
or
|
or
|
||||||
// sink is an added to a `ProcessBuilder::environment` map.
|
// sink is a key or value added to a `ProcessBuilder::environment` map.
|
||||||
exists(MapMutation mm | mm.getAnArgument() = sink.asExpr() |
|
exists(MapMutation mm | mm.getAnArgument() = sink.asExpr() |
|
||||||
ProcessBuilderEnvironmentFlow::flowToExpr(mm.getQualifier())
|
ProcessBuilderEnvironmentFlow::flowToExpr(mm.getQualifier())
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @precision medium
|
* @precision medium
|
||||||
* @id java/exec-tainted-environment
|
* @id java/exec-tainted-environment
|
||||||
* @tags security
|
* @tags security
|
||||||
* external/cwe/cwe-078
|
* external/cwe/cwe-078
|
||||||
* external/cwe/cwe-088
|
* external/cwe/cwe-088
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user