CVE-2023-32004
nodejs: Permission model bypass by specifying a path traversal sequence in a Buffer
Overview
Description
A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of Buffers in file system APIs causing a traversal path to bypass when verifying file permissions.
This vulnerability affects all users using the experimental permission model in Node.js 20.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-22
Affected packages · 2
Operating systems · 5 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 +1 | not affected | |
| nodejs-20 | 20.5.1-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack20 +4 | 20.5.1-1.1 | openSUSE-SU-2024:13117-1 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 +1 | not affected | |
| nodejs-20 | 20.5.1-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-32004
- hackerone.com https://hackerone.com/reports/2038134
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/
- nodejs.org https://nodejs.org/en/blog/vulnerability/august-2023-security-releases#permission-model-bypass-by-specifying-a-path-traversal-sequence-in-a-buffer-highcve-2023-32004
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-32004
- security.netapp.com https://security.netapp.com/advisory/ntap-20230915-0009/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-32004
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.