diff --git a/osv-scanner.toml b/osv-scanner.toml index 932508c8a9..30a4512618 100644 --- a/osv-scanner.toml +++ b/osv-scanner.toml @@ -9,10 +9,6 @@ id = "GHSA-2w8x-224x-785m" reason = "sjcl.ecc invalid-curve attack (ECDH); transitive via @bitgo/abstract-lightning > macaroon > sjcl; macaroon uses only HMAC/hash — no ECC; @bitgo/sjcl fork excludes sjcl.ecc entirely; resolved via root resolutions sjcl->@bitgo/sjcl@1.0.1; no upstream fix (first_patched_version: null)" -[[IgnoredVulns]] -id = "GHSA-7c78-jf6q-g5cm" -reason = "tmp path traversal via type-confusion in _assertPath (non-string args); transitive via cypress/karma/lerna/nx (dev-time only, never in production); all prefix/postfix/template args are hard-coded string constants — type-confusion vector does not apply" - [[IgnoredVulns]] @@ -31,8 +27,4 @@ reason = "pacote DoS via addGitSha on malicious spec.rawSpec (CVE-2026-9496); tr id = "GHSA-vfj7-8cjw-p6xm" reason = "braces stack-overflow DoS (CVE-2026-93687) via deeply nested brace patterns in the recursive AST walker; no upstream fix available (last_affected: 3.0.3, latest release); transitive via chokidar, karma, and lint-staged/micromatch — dev-time tooling only; all brace patterns we feed in are code-controlled globs (watcher roots, lint globs, test patterns), never user-supplied. Re-evaluate on 2026-12-03: drop this exclusion if braces ships a patched release" -[[IgnoredVulns]] -id = "GHSA-ch52-4w7c-c8xp" -reason = "http-cache-semantics shared-cache response confusion (CVE-2026-93748) exposing other users' Set-Cookie entries via max-stale on security-zeroed cache entries; no upstream fix available (last_affected: 4.2.0, latest release); transitive via lerna/pacote/@npmcli/arborist/node-gyp/sigstore (dev-time registry + release signing) and via @bitgo/sdk-coin-apt > @aptos-labs/ts-sdk > @aptos-labs/aptos-client > got > cacheable-request (runtime). The CVE requires operating as a shared/proxy HTTP cache serving multiple users; all our usages are single-process client caches (npm registry fetches, in-process got client) — the shared-cache attack vector does not apply. Re-evaluate on 2026-12-03: drop this exclusion if http-cache-semantics ships a patched release" - diff --git a/package.json b/package.json index 3da98e0984..3a6a39b152 100644 --- a/package.json +++ b/package.json @@ -167,7 +167,9 @@ "shell-quote": "1.11.0", "source-map-js": "1.2.2", "pbkdf2": "3.1.7", - "zod": "4.6.7" + "zod": "4.6.7", + "tmp": "0.2.7", + "http-cache-semantics": "4.3.0" }, "overrides": { "qs": "6.16.0", diff --git a/yarn.lock b/yarn.lock index f875afb2cc..a5eaf8a44f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12734,10 +12734,10 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" -http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0, http-cache-semantics@^4.1.1: - version "4.2.0" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz" - integrity sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ== +http-cache-semantics@4.3.0, http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0, http-cache-semantics@^4.1.1: + version "4.3.0" + resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz#09eead3b16c6d85552857cc3fbd888d8353a2aaf" + integrity sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA== http-deceiver@^1.2.7: version "1.2.7" @@ -19815,16 +19815,11 @@ tldts@^6.1.32: dependencies: tldts-core "^6.1.86" -tmp@0.2.7: +tmp@0.2.7, tmp@^0.2.1, tmp@^0.2.3, tmp@~0.2.3: version "0.2.7" resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.7.tgz#26f4db11d1601ce8012dcb8a798ece1c06a99059" integrity sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw== -tmp@^0.2.1, tmp@^0.2.3, tmp@~0.2.3: - version "0.2.6" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.6.tgz#0dfac10fd09a9319288eb0e8f0ed524604e183b4" - integrity sha512-5sJPdPjfI5Kx+qbrDesxkglRBxW//g7hCsqspEjwkewGvBMGIKMOTKzLt1hFVJzyadba3lDUN20O9qhvbQUSTA== - to-arraybuffer@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz"