Skip to content

Commit 352a4c5

Browse files
authored
[cherry-pick] fix(deps): bump fast-uri to 3.1.2 to address path traversal CVE (#1596)
* fix(deps): bump fast-uri to 3.1.2 to address path traversal CVE fast-uri <= 3.1.0 decoded percent-encoded path separators before applying dot-segment removal in normalize() and equal(), allowing attacker-controlled URIs to bypass path-based policy checks. Add resolution pin fast-uri@^3.1.1 to force all transitive dependents to use the patched release (3.1.2). Fixes: CRW-10862 Signed-off-by: Oleksii Orel <oorel@redhat.com> * chore(deps): regenerate license dependency files Signed-off-by: Oleksii Orel <oorel@redhat.com> --------- Signed-off-by: Oleksii Orel <oorel@redhat.com>
1 parent 314f331 commit 352a4c5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.deps/dev.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,6 @@
502502
| `fast-glob@3.3.3` | MIT | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fast-glob/3.3.3) |
503503
| `fast-json-stable-stringify@2.1.0` | MIT | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fast-json-stable-stringify/2.1.0) |
504504
| `fast-levenshtein@2.0.6` | MIT | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fast-levenshtein/2.0.6) |
505-
| `fast-uri@3.1.0` | BSD-3-Clause | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fast-uri/3.1.0) |
506505
| `fastest-levenshtein@1.0.16` | MIT | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fastest-levenshtein/1.0.16) |
507506
| `fastq@1.15.0` | ISC | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fastq/1.15.0) |
508507
| `fb-watchman@2.0.2` | Apache-2.0 | [clearlydefined](https://clearlydefined.io/definitions/npm/npmjs/-/fb-watchman/2.0.2) |

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"svgo": "^3.3.3",
7676
"follow-redirects": "^1.16.0",
7777
"@fastify/static": "^9.1.1",
78-
"brace-expansion": "^1.1.13"
78+
"brace-expansion": "^1.1.13",
79+
"fast-uri": "^3.1.1"
7980
}
8081
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6754,10 +6754,10 @@ __metadata:
67546754
languageName: node
67556755
linkType: hard
67566756

6757-
"fast-uri@npm:^3.0.0, fast-uri@npm:^3.0.1, fast-uri@npm:^3.0.5":
6758-
version: 3.1.0
6759-
resolution: "fast-uri@npm:3.1.0"
6760-
checksum: 10/818b2c96dc913bcf8511d844c3d2420e2c70b325c0653633f51821e4e29013c2015387944435cd0ef5322c36c9beecc31e44f71b257aeb8e0b333c1d62bb17c2
6757+
"fast-uri@npm:^3.1.1":
6758+
version: 3.1.2
6759+
resolution: "fast-uri@npm:3.1.2"
6760+
checksum: 10/1dff04865b2a38d3e0659deadfbf72efdf83a776bfbf9667e4aa9e5a3ec31bc341cda9622136b32b7652a857c8ba11896794186e8f876f8b2b72731fce8622f6
67616761
languageName: node
67626762
linkType: hard
67636763

0 commit comments

Comments
 (0)