zigzagdev / sanity Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanity/node_modules/vite/package.json
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
CVE | Severity | CVSS | Dependency | Type | Fixed in (sanity version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2023-26136 | Critical | 9.8 | tough-cookie-4.1.2.tgz | Transitive | N/A* | ❌ |
CVE-2024-37890 | High | 7.5 | ws-8.13.0.tgz | Transitive | N/A* | ❌ |
CVE-2024-23331 | High | 7.5 | vite-4.2.1.tgz | Transitive | N/A* | ❌ |
CVE-2023-34092 | High | 7.5 | vite-4.2.1.tgz | Transitive | N/A* | ❌ |
CVE-2023-26115 | High | 7.5 | word-wrap-1.2.3.tgz | Transitive | N/A* | ❌ |
CVE-2022-25883 | High | 7.5 | detected in multiple dependencies | Transitive | N/A* | ❌ |
CVE-2024-28849 | Medium | 6.5 | follow-redirects-1.15.2.tgz | Transitive | N/A* | ❌ |
CVE-2023-49293 | Medium | 6.1 | vite-4.2.1.tgz | Transitive | N/A* | ❌ |
CVE-2023-26159 | Medium | 6.1 | follow-redirects-1.15.2.tgz | Transitive | N/A* | ❌ |
CVE-2024-31207 | Medium | 5.9 | vite-4.2.1.tgz | Transitive | N/A* | ❌ |
CVE-2023-44270 | Medium | 5.3 | postcss-8.4.21.tgz | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
RFC6265 Cookies and Cookie Jar for node.js
Library home page: https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/tough-cookie/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.
Publish Date: 2023-07-01
URL: CVE-2023-26136
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-26136
Release Date: 2023-07-01
Fix Resolution: tough-cookie - 4.1.3
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/ws/-/ws-8.13.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/ws/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in [email protected] (e55e510) and backported to [email protected] (22c2876), [email protected] (eeb76d3), and [email protected] (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.
Publish Date: 2024-06-17
URL: CVE-2024-37890
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-3h5v-q93c-6h6q
Release Date: 2024-06-17
Fix Resolution: ws - 5.2.4,6.2.3,7.5.10,8.17.1
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/vite/-/vite-4.2.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanity/node_modules/vite/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Vite is a frontend tooling framework for javascript. The Vite dev server option server.fs.deny
can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since picomatch
defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from config.server.fs.deny
fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.
Publish Date: 2024-01-19
URL: CVE-2024-23331
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-c24v-8rfc-w8vw
Release Date: 2024-01-19
Fix Resolution: vite - 2.9.17,3.2.8,4.5.2,5.0.12
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/vite/-/vite-4.2.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanity/node_modules/vite/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (server.fs.deny
) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default fs.deny
settings (['.env', '.env.*', '*.{crt,pem}']
). Only users explicitly exposing the Vite dev server to the network (using --host
or server.host
config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected].
Publish Date: 2023-06-01
URL: CVE-2023-34092
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-353f-5xf4-qw67
Release Date: 2023-06-01
Fix Resolution: vite - 2.9.16,3.2.7,4.0.5,4.1.5,4.2.3,4.3.9
Step up your Open Source Security Game with Mend here
Wrap words to a specified length.
Library home page: https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/word-wrap/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.
Publish Date: 2023-06-22
URL: CVE-2023-26115
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-j8xg-fqg3-53r7
Release Date: 2023-06-22
Fix Resolution: word-wrap - 1.2.4
Step up your Open Source Security Game with Mend here
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-7.3.8.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/semver/package.json
Dependency Hierarchy:
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-5.7.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/read-pkg/node_modules/semver/package.json
Dependency Hierarchy:
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-6.1.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@vercel/fs-detectors/node_modules/semver/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Publish Date: 2023-06-21
URL: CVE-2022-25883
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-c2qf-rxjj-qqgw
Release Date: 2023-06-21
Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2
Step up your Open Source Security Game with Mend here
HTTP and HTTPS modules that follow redirects.
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/follow-redirects/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
follow-redirects is an open source, drop-in replacement for Node's http
and https
modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Publish Date: 2024-03-14
URL: CVE-2024-28849
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-cxjh-pqwp-8mfp
Release Date: 2024-03-14
Fix Resolution: follow-redirects - 1.15.6
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/vite/-/vite-4.2.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanity/node_modules/vite/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Vite is a website frontend framework. When Vite's HTML transformation is invoked manually via server.transformIndexHtml
, the original request URL is passed in unmodified, and the html
being transformed contains inline module scripts (<script type="module">...</script>
), it is possible to inject arbitrary HTML into the transformed output by supplying a malicious URL query string to server.transformIndexHtml
. Only apps using appType: 'custom'
and using the default Vite HTML middleware are affected. The HTML entry must also contain an inline script. The attack requires a user to click on a malicious URL while running the dev server. Restricted files aren't exposed to the attacker. This issue has been addressed in [email protected], [email protected], and [email protected]. There are no known workarounds for this vulnerability.
Publish Date: 2023-12-04
URL: CVE-2023-49293
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-92r3-m2mg-pj97
Release Date: 2023-12-04
Fix Resolution: vite - 4.4.12,4.5.1,5.0.5
Step up your Open Source Security Game with Mend here
HTTP and HTTPS modules that follow redirects.
Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/follow-redirects/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.
Publish Date: 2024-01-02
URL: CVE-2023-26159
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-26159
Release Date: 2024-01-02
Fix Resolution: follow-redirects - 1.15.4
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/vite/-/vite-4.2.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanity/node_modules/vite/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Vite (French word for "quick", pronounced /vit/, like "veet") is a frontend build tooling to improve the frontend development experience.server.fs.deny
does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10 and 2.9.18.
Publish Date: 2024-04-04
URL: CVE-2024-31207
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-8jhw-289h-jh2g
Release Date: 2024-04-04
Fix Resolution: vite - 2.9.18,3.2.10,4.5.3,5.0.13,5.1.7,5.2.6
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/postcss/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.
Publish Date: 2023-09-29
URL: CVE-2023-44270
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-44270
Release Date: 2023-09-29
Fix Resolution: postcss - 8.4.31
Step up your Open Source Security Game with Mend here
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/undici/package.json
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
CVE | Severity | CVSS | Dependency | Type | Fixed in (hydrogen version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2023-45133 | High | 8.8 | traverse-7.21.4.tgz | Transitive | 1.4.0 | ❌ |
CVE-2024-4068 | High | 7.5 | braces-3.0.2.tgz | Transitive | N/A* | ❌ |
CVE-2022-25883 | High | 7.5 | semver-6.3.0.tgz | Transitive | 2023.1.0 | ❌ |
CVE-2024-4067 | Medium | 5.3 | micromatch-4.0.5.tgz | Transitive | 1.4.0 | ❌ |
CVE-2023-26144 | Medium | 5.3 | graphql-16.4.0.tgz | Transitive | 1.7.4 | ❌ |
CVE-2024-30260 | Low | 3.9 | undici-5.21.2.tgz | Transitive | N/A* | ❌ |
CVE-2024-24758 | Low | 3.9 | undici-5.21.2.tgz | Transitive | 1.4.0 | ❌ |
CVE-2023-45143 | Low | 3.5 | undici-5.21.2.tgz | Transitive | 1.4.0 | ❌ |
CVE-2024-30261 | Low | 2.6 | undici-5.21.2.tgz | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Library home page: https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@babel/traverse/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Babel is a compiler for writingJavaScript. In @babel/traverse
prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of babel-traverse
, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()
or path.evaluateTruthy()
internal Babel methods. Known affected plugins are @babel/plugin-transform-runtime
; @babel/preset-env
when using its useBuiltIns
option; and any "polyfill provider" plugin that depends on @babel/helper-define-polyfill-provider
, such as babel-plugin-polyfill-corejs3
, babel-plugin-polyfill-corejs2
, babel-plugin-polyfill-es-shims
, babel-plugin-polyfill-regenerator
. No other plugins under the @babel/
namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in @babel/[email protected]
and @babel/[email protected]
. Those who cannot upgrade @babel/traverse
and are using one of the affected packages mentioned above should upgrade them to their latest version to avoid triggering the vulnerable code path in affected @babel/traverse
versions: @babel/plugin-transform-runtime
v7.23.2, @babel/preset-env
v7.23.2, @babel/helper-define-polyfill-provider
v0.4.3, babel-plugin-polyfill-corejs2
v0.4.6, babel-plugin-polyfill-corejs3
v0.8.5, babel-plugin-polyfill-es-shims
v0.10.0, babel-plugin-polyfill-regenerator
v0.5.3.
Publish Date: 2023-10-12
URL: CVE-2023-45133
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-67hx-6x53-jw92
Release Date: 2023-10-12
Fix Resolution (@babel/traverse): 7.23.2
Direct dependency fix Resolution (@shopify/hydrogen): 1.4.0
Step up your Open Source Security Game with Mend here
Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.
Library home page: https://registry.npmjs.org/braces/-/braces-3.0.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/braces/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
The NPM package braces
, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In lib/parse.js,
if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
Mend Note: After conducting a further research, it was concluded that CVE-2024-4068 does not contain a high security risk that reflects the NVD score, but should be kept for users' awareness. Users of braces should follow the fix recommendation as noted.
Publish Date: 2024-05-14
URL: CVE-2024-4068
Base Score Metrics:
Type: Upgrade version
Release Date: 2024-05-14
Fix Resolution: braces - 3.0.3
Step up your Open Source Security Game with Mend here
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-6.3.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@babel/core/node_modules/semver/package.json,/node_modules/make-dir/node_modules/semver/package.json,/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Publish Date: 2023-06-21
URL: CVE-2022-25883
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-c2qf-rxjj-qqgw
Release Date: 2023-06-21
Fix Resolution (semver): 6.3.1
Direct dependency fix Resolution (@shopify/hydrogen): 2023.1.0
Step up your Open Source Security Game with Mend here
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Library home page: https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/micromatch/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
The NPM package micromatch
is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in micromatch.braces()
in index.js
because the pattern .*
will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching.
Mend Note: After conducting a further research, it was concluded that CVE-2024-4067 does not contain a high security risk that reflects the NVD score, but should be kept for users' awareness. Users of micromatch should follow the fix recommendation as noted.
Publish Date: 2024-05-14
URL: CVE-2024-4067
Base Score Metrics:
Type: Upgrade version
Release Date: 2024-05-14
Fix Resolution (micromatch): 4.0.6
Direct dependency fix Resolution (@shopify/hydrogen): 1.4.0
Step up your Open Source Security Game with Mend here
A Query Language and Runtime which can target any service.
Library home page: https://registry.npmjs.org/graphql/-/graphql-16.4.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/graphql/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Versions of the package graphql from 16.3.0 and before 16.8.1 are vulnerable to Denial of Service (DoS) due to insufficient checks in the OverlappingFieldsCanBeMergedRule.ts file when parsing large queries. This vulnerability allows an attacker to degrade system performance.
Note: It was not proven that this vulnerability can crash the process.
Publish Date: 2023-09-20
URL: CVE-2023-26144
Base Score Metrics:
Type: Upgrade version
Release Date: 2023-09-20
Fix Resolution (graphql): 16.8.1
Direct dependency fix Resolution (@shopify/hydrogen): 1.7.4
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/undici/-/undici-5.21.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/undici/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for fetch()
, but did not clear them for undici.request()
. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Publish Date: 2024-04-04
URL: CVE-2024-30260
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-m4v8-wqvr-p9f7
Release Date: 2024-04-04
Fix Resolution: undici - 5.28.4,6.11.1
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/undici/-/undici-5.21.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/undici/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear Proxy-Authentication
headers. This issue has been patched in versions 5.28.3 and 6.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Publish Date: 2024-02-16
URL: CVE-2024-24758
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-24758
Release Date: 2024-02-16
Fix Resolution (undici): 5.28.3
Direct dependency fix Resolution (@shopify/hydrogen): 1.4.0
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/undici/-/undici-5.21.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/undici/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear Cookie
headers. By design, cookie
headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds.
Publish Date: 2023-10-12
URL: CVE-2023-45143
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-wqq4-5wpv-mx2g
Release Date: 2023-10-12
Fix Resolution (undici): 5.26.2
Direct dependency fix Resolution (@shopify/hydrogen): 1.4.0
Step up your Open Source Security Game with Mend here
Library home page: https://registry.npmjs.org/undici/-/undici-5.21.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/undici/package.json
Dependency Hierarchy:
Found in HEAD commit: 38f0b2a12b49cb8bb351c740ae839aa41590ad3a
Found in base branch: main
Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the integrity
option passed to fetch()
, allowing fetch()
to accept requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Publish Date: 2024-04-04
URL: CVE-2024-30261
Base Score Metrics:
Type: Upgrade version
Origin: GHSA-9qxr-qj54-h672
Release Date: 2024-04-04
Fix Resolution: undici - 5.28.4,6.11.1
Step up your Open Source Security Game with Mend here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.