First published: Mon Oct 16 2023(Updated: )
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 <a href="https://access.redhat.com/security/cve/CVE-2023-30584">CVE-2023-30584</a>) and Buffer objects (see <a href="https://access.redhat.com/security/cve/CVE-2023-32004">CVE-2023-32004</a>), but not through non-Buffer Uint8Array objects. References: <a href="https://nodejs.org/en/blog/vulnerability/october-2023-security-releases">https://nodejs.org/en/blog/vulnerability/october-2023-security-releases</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Node.js |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2244414 is classified as medium, indicating potential risk depending on the context.
To fix REDHAT-BUG-2244414, ensure that you are using the latest patched version of Node.js available.
REDHAT-BUG-2244414 can allow unauthorized path traversal leading to possible disclosure of sensitive files.
REDHAT-BUG-2244414 affects all versions of Node.js that allow the specified path traversals without proper validation.
If you suspect exploitation of REDHAT-BUG-2244414, immediately update to the fixed version and review your logs for suspicious activity.