Conversation
Upgrades fast-uri, find-my-way, qs, nanoid, fastify, and sanitize-html to address seven security vulnerabilities: 1. fast-uri 3.1.3→3.1.7: host confusion via unbalanced URI brackets (CRW-12866), authority injection via unvalidated port serialization (CRW-12860), URI parsing flaw enabling SSRF (CRW-12727), SSRF via malformed IPv6 normalization (CRW-12723), SSRF via repeated hostname percent-decoding (CRW-12714), host confusion via skipped IDN canonicalization (CRW-12710) 2. find-my-way 9.0.1→9.9.0: DoS via HTTP/2 prototype pollution in method lookup (CRW-12683) 3. qs 6.15.2→6.16.0: DoS via array limit bypass in query string parsing with bracket-push keys (CRW-12801) 4. nanoid 3.3.12→3.3.18: DoS via infinite loop when size is 0 in customAlphabet/customRandom (CRW-12641) 5. fastify ^5.8.3→^5.12.1: dependency maintenance 6. sanitize-html ^2.17.4→^2.17.7: dependency maintenance Assisted-by: Claude Sonnet 4.6 Signed-off-by: Oleksii Orel <oorel@redhat.com>
Contributor
Add a mandatory build-and-test gate to rebase-to-main (step 5.5) and fix-cve-dep (step 6.5) skills, and reinforce the same rule in che-dashboard-dev.md. Dep upgrades can introduce test suite failures that only appear in CI without this gate. Exclude .claude/ from prettier to preserve compact table formatting. Assisted-by: Claude Sonnet 4.6 Signed-off-by: Oleksii Orel <oorel@redhat.com>
Rewrite openspec/project.md with the full current feature set: - User Preferences tabs: AI provider keys, device auth tokens - AI tools and assistant integration - Backup and restore functionality - SSRF-protected data resolver - All backend API routes (AI, device auth, backup, editors, samples) - Security section Add a Project Documentation section to AGENTS.md linking to openspec/project.md, and expand the Project Overview feature list. Assisted-by: Claude Sonnet 4.6 Signed-off-by: Oleksii Orel <oorel@redhat.com>
Contributor
|
This PR contains changes to files in directories that are typically not intended to be committed:
Please verify these changes are intentional. |
sanitize-html@2.17.7 requires htmlparser2@^12.0.0, which dropped the require export condition and is ESM-only. v10.1.0 ships both a CJS and ESM build, so require() resolves to the CJS path in Jest. The resolution targets only the ^12.0.0 range, leaving other packages (renderkid@^6, css-select@^8) on their existing versions. Assisted-by: Claude Sonnet 4.6 Signed-off-by: Oleksii Orel <oorel@redhat.com>
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1662 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1662", name: che-dashboard}]}}]" |
svor
approved these changes
Sep 4, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: olexii4, svor The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Upgrades
fast-uri,find-my-way,qs,nanoid,fastify, andsanitize-htmlto address seven security vulnerabilities.fast-uri3.1.3 → 3.1.7 — fixes six CVEs: host confusion via unbalanced URI brackets (CRW-12866), authority injection via unvalidated port serialization (CRW-12860), URI parsing flaw enabling SSRF via percent-encoded scheme (CRW-12727), SSRF via malformed IPv6 normalization (CRW-12723), SSRF via repeated hostname percent-decoding (CRW-12714), host confusion via skipped IDN canonicalization on scheme-relative references (CRW-12710). All six are fixed in 3.1.7, which rejects invalid schemes after decoding, validates full IPv6 grammar, and canonicalizes the host consistently regardless of whether a scheme is present.find-my-way9.0.1 → 9.9.0 — fixes a remotely triggerable DoS (CRW-12683):lookup()passesreq.methodintofind(), which indexesthis.trees[method]. Sincethis.treesis a plain object, HTTP/2 method values likeconstructoror__proto__resolve inherited properties instead ofundefined, causing a crash atcurrentNode.prefix.length. Fixed in 9.0.7+ by usingObject.create(null)for the tree map.qs6.15.2 → 6.16.0 — fixes a DoS via array limit bypass (CRW-12801): withcomma: trueandthrowOnLimitExceeded: true, a bracket-push key (a[]=1,2,3,...) bypassed thearrayLimitcheck introduced in 6.14.2, allowing unbounded inner-array allocation. Fixed in 6.16.0 by removing theisFlatArrayValuegate so every comma-split value is counted againstarrayLimit.nanoid3.3.12 → 3.3.18 — fixes a DoS via infinite loop (CRW-12641):customAlphabetandcustomRandomwithsize: 0never satisfy the exit condition and spin indefinitely. Fixed in 3.3.18 with an explicit guard on the size parameter.fastify^5.8.3 → ^5.12.1 — dependency maintenance.sanitize-html^2.17.4 → ^2.17.7 — dependency maintenance.fast-uriandfind-my-wayare transitively required byfastify, so both upgrades requireresolutionsoverrides in the rootpackage.json.qsis a direct dependency ofdashboard-frontend.Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
fixes https://redhat.atlassian.net/browse/CRW-12866
fixes https://redhat.atlassian.net/browse/CRW-12860
fixes https://redhat.atlassian.net/browse/CRW-12801
fixes https://redhat.atlassian.net/browse/CRW-12727
fixes https://redhat.atlassian.net/browse/CRW-12723
fixes https://redhat.atlassian.net/browse/CRW-12714
fixes https://redhat.atlassian.net/browse/CRW-12710
fixes https://redhat.atlassian.net/browse/CRW-12683
fixes https://redhat.atlassian.net/browse/CRW-12641
Is it tested? How?
yarn installresolves cleanly:fast-uri@3.1.7,find-my-way@9.9.0,qs@6.16.0,nanoid@3.3.18,fastify@5.12.1,sanitize-html@2.17.7installed; old versions removed fromyarn.lock.yarn license:generatecompletes without unresolved dependencies.fast-uri@3.1.7andfind-my-way@9.9.0added toEXCLUDED/dev.mdas transitive dependencies (not yet indexed on ClearlyDefined);fastify@5.12.1,qs@6.16.0,sanitize-html@2.17.7added toEXCLUDED/prod.md.yarn license:checkpasses.Release Notes
Updated
fast-uri,find-my-way,qs,nanoid,fastify, andsanitize-htmlto address host confusion, SSRF, authority injection, and denial-of-service vulnerabilities.Docs PR
N/A