# CVE-2023-39332

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-10-18 · Modified: 2025-11-03
- Aliases: CGA-6f4p-jvx2-cfwc, CGA-gxcf-jx3j-chf9, CGA-hjcx-hgqf-9hp3, CGA-hxv9-cq37-36w3, CGA-phcm-cj6c-r5hj, CGA-rh7v-h9mg-qxjj, ALPINE-CVE-2023-39332
- Record: https://cvemate.com/vulnerability/CVE-2023-39332 · JSON: https://cvemate.com/vulnerability/CVE-2023-39332/json

## Description

```text
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 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.185%, percentile 83.004%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine nodejs-current (Alpine Linux): \< 20.8.1-r0
- chainguard nodejs-16 (Chainguard): All versions (No fix recorded)
- chainguard nodejs-18 (Chainguard): All versions (No fix recorded)
- chainguard nodejs-20 (Chainguard): \< 20.8.0-r0
- wolfi nodejs-16 (Wolfi): All versions (No fix recorded)
- wolfi nodejs-18 (Wolfi): All versions (No fix recorded)
- wolfi nodejs-20 (Wolfi): \< 20.8.0-r0
- fedoraproject fedora: 39
- nodejs node: ≥ 4.0, \< 4.\* \| ≥ 5.0, \< 5.\* \| ≥ 6.0, \< 6.\* \| ≥ 7.0, \< 7.\* \| ≥ 8.0, \< 8.\* \| ≥ 9.0, \< 9.\* \| ≥ 10.0, \< 10.\* \| ≥ 11.0, \< 11.\* \| ≥ 12.0, \< 12.\* \| ≥ 13.0, \< 13.\* \| ≥ 14.0, \< 14.\* \| ≥ 15.0, \< 15.\* \| ≥ 16.0, \< 16.\* \| ≥ 17.0, \< 17.\* \| ≥ 19.0, \< 19.\* \| ≥ 20.0, \< 20.8.1
- nodejs node.js: ≥ 20.0.0, \< 20.8.0

## References

- <https://hackerone.com/reports/2199818>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/>
- <https://security.netapp.com/advisory/ntap-20231116-0009/>
- <https://security.netapp.com/advisory/ntap-20241108-0002/>
- <https://security.alpinelinux.org/vuln/CVE-2023-39332>

---

Data as of 2026-12-05T08:24:37.315Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
