Improper Null Termination Affecting nodejs22-docs package, versions <1:22.23.1-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.32% (25th 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-NODEJS22DOCS-17889008
  • published8 Jul 2026
  • disclosed26 Jun 2026

Introduced: 26 Jun 2026

NewCVE-2026-48930  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs22-docs to version 1:22.23.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1921.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs22-docs package and not the nodejs22-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 TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings.

This vulnerability affects all supported release lines: Node.js 22, Node.js 24, and Node.js 26.

CVSS Base Scores

version 3.1