ghsa-m27w-wvc9-v4mq
Vulnerability from github
Published
2024-02-20 03:30
Modified
2024-05-01 18:30
Severity
Details
The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example:
--allow-fs-read=/home/node/.ssh/*.pub
will ignore pub
and give access to everything after .ssh/
.
This misleading documentation 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.
{ "affected": [], "aliases": [ "CVE-2024-21890" ], "database_specific": { "cwe_ids": [], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2024-02-20T02:15:50Z", "severity": "MODERATE" }, "details": "The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example:\n```\n --allow-fs-read=/home/node/.ssh/*.pub\n```\n\nwill ignore `pub` and give access to everything after `.ssh/`.\n\nThis misleading documentation affects all users using the experimental permission model in Node.js 20 and Node.js 21.\n\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.", "id": "GHSA-m27w-wvc9-v4mq", "modified": "2024-05-01T18:30:35Z", "published": "2024-02-20T03:30:57Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21890" }, { "type": "WEB", "url": "https://hackerone.com/reports/2257156" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20240315-0002" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2024/03/11/1" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ] }
Loading...