Heap-based Buffer Overflow Affecting nodejs:22/nodejs-docs package, versions <1:22.15.0-1.module+el8.10.0+23068+28ff2340


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (27th 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-RHEL8-NODEJS-9711833
  • published15 Apr 2025
  • disclosed14 Apr 2025

Introduced: 14 Apr 2025

CVE-2025-3277  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:8 nodejs:22/nodejs-docs to version 1:22.15.0-1.module+el8.10.0+23068+28ff2340 or higher.
This issue was patched in RHSA-2025:4459.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:22/nodejs-docs package and not the nodejs:22/nodejs-docs package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

An integer overflow can be triggered in SQLite’s concat_ws() function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.

CVSS Base Scores

version 3.1