- Description
- pnpm is a package manager. Prior to 10.34.4 and 11.8.0, pnpm accepts package names from the env lockfile configDependencies section and uses those names directly when creating config dependency symlinks under node_modules/.pnpm-config. A malicious repository can commit a crafted pnpm-lock.yaml whose env-lockfile document contains a traversal-shaped config dependency name. During pnpm install, pnpm installs the config dependency and creates a symlink at a path derived from that name. This vulnerability is fixed in 10.34.4 and 11.8.0.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- pnpm
CVSS 3.1
- Type
- Secondary
- Base score
- 8.2
- Impact score
- 4.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L
- Severity
- HIGH
- security-advisories@github.com
- CWE-22
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "D09BE91F-1A74-4A92-ACEA-0133AC22ABB0",
"versionEndExcluding": "10.34.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "63B23A95-A23B-436C-A319-73FD1454AFC8",
"versionEndExcluding": "11.8.0",
"versionStartIncluding": "11.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]