CVE-2024-27982

HTTP Request Smuggling
Affects
Node.js
in
Node.js
No items found.
Versions
4.0 < 18.20.1, 20 < 20.12.1

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It offers a rich library of various JavaScript modules and is widely used in server-side applications.

‍

An HTTP Request Smuggling vulnerability has been identified in Node.js. The issue stems from malformed headers not being interpreted correctly, enabling attackers to smuggle in a second request within the body of the first.

‍

This vulnerability affects specific versions of the package and can result in unauthorized access. Details on affected versions and reproduction steps are provided below.

‍

Details

Module Info

  • Affected packages: Node.js‍
  • Affected versions: 4.0 < 18.20.1, 20 < 20.12.1 ‍
  • GitHub repository: https://github.com/nodejs/node‍
  • Published packages: https://github.com/nodejs/node/releases‍
  • Package manager: npm‍
  • Fixed in: Node.js NES v12, v14, v16

‍

Vulnerability Info

The issue stems from improper handling of HTTP headers.

For instance if a space is placed before a content-length header, the system fails to interpret it correctly. This behavior can be exploited by attackers to smuggle in a second request.

‍

This vulnerability is a result of flawed logic, and may allow attackers to execute arbitrary requests.


- https://www.cve.org/CVERecord?id=CVE-2024-27982

- https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/15-Testing_for_HTTP_Splitting_Smuggling

‍

Mitigation

This vulnerability is not fixed upstream due to the release line being EOL. Herodevs has issued patched builds under the NES (Never Ending Support) line.


- Update to a patched LTS version of Node.js

- Leverage a commercial support partner like HeroDevs for post-EOL security.

Refer to the NES documentation for upgrade instructions.

‍

Credits

  • bpingel
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Medium
ID
CVE-2024-27982
PROJECT Affected
Node.js
Versions Affected
4.0 < 18.20.1, 20 < 20.12.1
NES Versions Affected
Published date
May 7, 2024
≈ Fix date
October 10, 2024
Category
HTTP Request Smuggling
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Node.js
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.