Vulnerabilities in pkg:npm/@thi.ng/paths
PACKAGECVE-2024-29650 is a CRITICAL (CVSS 9.8) @thi.ng/paths prototype pollution vulnerability vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting @thi.ng/paths libraries in the npm ecosystem. The issue involves @thi.ng/paths prototype pollution vulnerability. Remediation is available by upgrading affected packages to version 5.1.63.
pkg:npm/@thi.ng/paths
Vulnerability advisories affecting package pkg:npm/@thi.ng/paths. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8ppr-www8-hfjx | CVE-2024-29650 | CRITICAL | @thi.ng/paths Prototype Pollution vulnerability |
CVE-2024-29650 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-29650
To remediate this vulnerability, upgrade all affected @thi.ng/paths dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @thi.ng/paths@5.1.63
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @thi.ng/paths
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-29650, inspect your project dependencies using npm:
npm ls @thi.ng/paths
Analyze the terminal output to locate any version of @thi.ng/paths in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.63), your application is affected.
Note: The npm ls @thi.ng/paths command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In @thi.ng/paths, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-29650 Affected @thi.ng/paths Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@thi.ng/paths
|
npm |
< 5.1.63
|
5.1.63
|
References
Frequently Asked Questions
What is CVE-2024-29650?
Which @thi.ng/paths versions are affected?
What version fixes CVE-2024-29650?
Is @thi.ng/paths affected?
What is the CVSS score of CVE-2024-29650?
What CWE is associated with CVE-2024-29650?
How can I check npm dependencies for CVE-2024-29650?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8ppr-www8-hfjx",
"modified" : "2024-08-02T15:59:13Z",
"published" : "2024-03-25T15:30:41Z",
"aliases" : [ "CVE-2024-29650" ],
"summary" : "@thi.ng/paths Prototype Pollution vulnerability",
"details" : "An issue in @thi.ng/paths v.5.1.62 and before allows a remote attacker to execute arbitrary code via the `mutIn` and `mutInManyUnsafe` components.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@thi.ng/paths"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.63"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-29650"
}, {
"type" : "WEB",
"url" : "https://github.com/thi-ng/umbrella/issues/445"
}, {
"type" : "WEB",
"url" : "https://github.com/thi-ng/umbrella/commit/c78b484882ad5214a46ef83ddb8020571c171353"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/tariqhawis/1bc340ca5ea6ae115c9ab9665cfd5921"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/thi-ng/umbrella"
}, {
"type" : "WEB",
"url" : "https://learn.snyk.io/lesson/prototype-pollution/#a0a863a5-fd3a-539f-e1ed-a0769f6c6e3b"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-25T19:34:46Z",
"nvd_published_at" : "2024-03-25T15:15:52Z"
}
}