mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Update python/ql/src/experimental/Security-new-dataflow/CWE-022/PathInjection.ql
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* The query detects the case where a path is not both normalized and _afterwards_ checked.
|
||||
* The query detects cases where a user-controlled path is used in an unsafe manner, meaning it is not both normalized and _afterwards_ checked.
|
||||
*
|
||||
* It does so by dividing the problematic situation into two cases:
|
||||
* 1. The path is never normalized.
|
||||
|
||||
Reference in New Issue
Block a user