File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
javascript/ql/src/semmle/javascript/security/dataflow Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1919| --------------------------------| ------------------------------| ---------------------------------------------------------------------------|
2020| Expression has no effect | Fewer false-positive results | This rule now treats uses of ` Object.defineProperty ` more conservatively. |
2121| Useless assignment to property | Fewer false-positive results | This rule now ignore reads of additional getters. |
22+ | ZipSlip | More results | This rule now considers more libraries, including tar as well as zip. |
2223
2324## Changes to QL libraries
Original file line number Diff line number Diff line change @@ -60,7 +60,11 @@ module ZipSlip {
6060 }
6161
6262 /** Gets a property that is used to get the filename part of an archive entry. */
63- private string getAFilenameProperty ( ) { result = "path" or result = "name" }
63+ private string getAFilenameProperty ( ) {
64+ result = "path" // Used by library 'unzip'.
65+ or
66+ result = "name" // Used by library 'tar-stream'.
67+ }
6468
6569 /** An archive entry path access, as a source for unsafe archive extraction. */
6670 class UnzipEntrySource extends Source {
You can’t perform that action at this time.
0 commit comments