BIT-node-2024-21896

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/node/BIT-node-2024-21896.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-node-2024-21896
Aliases
Published
2024-06-04T09:50:22.403Z
Modified
2024-12-16T15:27:03.628084Z
Summary
[none]
Details

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.This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Database specific
{
    "cpes": [
        "cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*"
    ],
    "severity": "High"
}
References

Affected packages

Bitnami / node

Package

Name
node
Purl
pkg:bitnami/node

Severity

  • 7.9 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
21.0.0
Fixed
21.6.2
Introduced
20.0.0
Fixed
20.11.1