{"schemaVersion":3,"id":"CVE-2023-39331","aliases":["CGA-4c3p-vqvj-vm42","CGA-7xp3-crcx-h98g","CGA-95x4-v6m5-mqhv","CGA-m5cj-v3v4-cmfc","CGA-qmjq-h57f-8rrh","CGA-vqfp-vvvp-hxq2"],"status":"published","duplicateOf":null,"title":null,"description":"A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the implementation does not protect itself against the application overwriting built-in utility functions with user-defined implementations.\n\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.","dates":{"published":"2023-10-18T03:55:18.506Z","modified":"2025-11-03T21:49:16.116Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":7.7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":6.4,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":7.7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":6.4,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01508,"percentile":0.74016,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.183,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01325},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01508,"percentile":0.74016}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01325,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01508,"percentile":0.74016}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"nodejs-16","name":"nodejs-16","label":"nodejs-16","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nodejs-16","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nodejs-18","name":"nodejs-18","label":"nodejs-18","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nodejs-18","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nodejs-20","name":"nodejs-20","label":"nodejs-20","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nodejs-20","purlType":"apk","versions":[{"text":"< 20.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20.8.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nodejs-16","name":"nodejs-16","label":"nodejs-16","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nodejs-16","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nodejs-18","name":"nodejs-18","label":"nodejs-18","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nodejs-18","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nodejs-20","name":"nodejs-20","label":"nodejs-20","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nodejs-20","purlType":"apk","versions":[{"text":"< 20.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20.8.0-r0","eol":null,"hubHref":null},{"vendor":"nodejs","product":"node","name":"Node","label":"node","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0, < 4.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0, < 7.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0, < 8.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0, < 9.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0, < 10.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0, < 11.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0, < 12.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0, < 13.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 14.0, < 14.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0, < 15.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0, < 16.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0, < 17.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 19.0, < 19.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 20.0, < 20.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/nodejs/node"},{"vendor":"nodejs","product":"node.js","name":"node.js","label":"node.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 20.0.0, < 20.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 20.0.0, < 20.8.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"nodejs","label":"Node.js","category":"framework"}},"hubHref":"/vendor/nodejs/nodejs"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackerone.com/reports/2092852","label":"hackerone.com/reports/2092852","hostname":"hackerone.com","tags":["WEB","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20231116-0009/","label":"security.netapp.com/advisory/ntap-20231116-0009/","hostname":"security.netapp.com","tags":["Advisory","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","label":"security.netapp.com/advisory/ntap-20241108-0002/","hostname":"security.netapp.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39331.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39331.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39331","label":"nvd.nist.gov/vuln/detail/CVE-2023-39331","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:13337-1","RHSA-2023:7205"],"duplicates":[],"related":["CGA-5XM3-QQJG-F7M6","CGA-FWXR-QQCP-9C9W","CGA-HM8Q-9MP3-549W","CGA-P9Q4-88HX-RWC6","CGA-W4FW-9WM9-8227","OPENSUSE-SU-2024:13337-1","UBUNTU-CVE-2023-39331"]},"timeline":[{"kind":"published","date":"2023-10-18T03:55:18.506Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T21:49:16.116Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:45:01.255Z","stale":false,"partial":false}}