GHSA-9hm3-chgj-45rm
Record from GitHub Advisory Database · Published October 18, 2023
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects. This is distinct from CVE-2023-32004 ([report 2038134](https://hackerone.com/reports/2038134)), which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`. Impacts: 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs-20 | Wolfi | 20.8.0-r0 |
| nodejs-20 | Chainguard | 20.8.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | nodejs-19 | * |
| wolfi | nodejs-18 | * |
| wolfi | nodejs-16 | * |
| wolfi | nodejs-20 | 0 |
| wolfi | nodejs-19 | * |
| chainguard | nodejs-20 | 0 |
| chainguard | nodejs-16 | * |
| chainguard | nodejs-18 | * |
Timeline
- Oct 18, 2023 CVE Published
- Apr 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-9hm3-chgj-45rm
vulnetix vdb fixes GHSA-9hm3-chgj-45rm
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-9hm3-chgj-45rm/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU url
- https://security.netapp.com/advisory/ntap-20231116-0009 url
- https://security.netapp.com/advisory/ntap-20241108-0002 url
- https://nvd.nist.gov/vuln/detail/CVE-2023-39332 advisory
- https://hackerone.com/reports/2199818 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG url