{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21896","id":"CVE-2024-21896","title":"The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by t…","description":"The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which lead","descriptionLong":"The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability.\nThis vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.","published":"2024-02-20T01:31:08.176Z","updated":"2026-10-28T02:30:50.177470273Z","reserved":"2024-01-03T01:04:06.539Z","status":"Analyzed","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":7.9,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:M","rating":"high","source":"hackerone"},{"version":"3.0","score":7.9,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"hackerone.com"},{"version":"3.0","score":7.9,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:M","rating":"high","source":"OSV"}],"rating":"critical","products":["NodeJS Node"],"affectedProducts":[{"vendor":"NodeJS","product":"Node","defaultStatus":"unaffected","versions":[{"versionType":"semver","version":"4.0","status":"affected","lessThan":"4.*"},{"versionType":"semver","version":"5.0","status":"affected","lessThan":"5.*"},{"versionType":"semver","version":"6.0","status":"affected","lessThan":"6.*"},{"versionType":"semver","version":"7.0","status":"affected","lessThan":"7.*"},{"versionType":"semver","version":"8.0","status":"affected","lessThan":"8.*"},{"versionType":"semver","version":"9.0","status":"affected","lessThan":"9.*"},{"versionType":"semver","version":"10.0","status":"affected","lessThan":"10.*"},{"versionType":"semver","version":"11.0","status":"affected","lessThan":"11.*"},{"versionType":"semver","version":"12.0","status":"affected","lessThan":"12.*"},{"versionType":"semver","version":"13.0","status":"affected","lessThan":"13.*"},{"versionType":"semver","version":"14.0","status":"affected","lessThan":"14.*"},{"versionType":"semver","version":"15.0","status":"affected","lessThan":"15.*"},{"versionType":"semver","version":"16.0","status":"affected","lessThan":"16.*"},{"versionType":"semver","version":"17.0","status":"affected","lessThan":"17.*"},{"versionType":"semver","version":"19.0","status":"affected","lessThan":"19.*"},{"versionType":"semver","version":"20.0","status":"affected","lessThan":"20.11.1"},{"versionType":"semver","version":"21.0","status":"affected","lessThan":"21.6.2"}],"platforms":[]}],"packages":[],"cwes":["CWE-27"],"aliases":["BIT-node-2024-21896","BIT-node-min-2024-21896"],"references":[{"url":"https://hackerone.com/reports/2218653","tags":["x_transferred","Issue Tracking","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240329-0002/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/11/1","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21896.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21896","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01262,"epssPercentile":0.7027,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21896","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21896","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21896","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21896","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nodejs"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}