Improper Preservation of Permissions Affecting nodejs20-docs package, versions <1:20.20.0-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-NODEJS20DOCS-15245607
  • published6 Feb 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2025-55132  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-docs to version 1:20.20.0-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1402.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs20-docs package and not the nodejs20-docs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via futimes() even when the process has only read permissions. Unlike utimes(), futimes() does not apply the expected write-permission checks, which means file metadata can be modified in read-only directories. This behavior could be used to alter timestamps in ways that obscure activity, reducing the reliability of logs. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.

CVSS Base Scores

version 3.1