Inefficient Regular Expression Complexity Affecting nodejs-packaging package, versions <0:2021.06-4.module+el8.7.0+20766+0a247725
Threat Intelligence
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 ID SNYK-ORACLE8-NODEJSPACKAGING-5414315
- published 5 Apr 2023
- disclosed 16 Feb 2023
Introduced: 16 Feb 2023
CVE-2023-24807 Open this link in a new tabHow to fix?
Upgrade Oracle:8
nodejs-packaging
to version 0:2021.06-4.module+el8.7.0+20766+0a247725 or higher.
This issue was patched in ELSA-2023-1583
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs-packaging
package and not the nodejs-packaging
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the Headers.set()
and Headers.append()
methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the headerValueNormalize()
utility function. This vulnerability was patched in v5.19.1. No known workarounds are available.
References
- https://linux.oracle.com/cve/CVE-2023-24807.html
- https://linux.oracle.com/errata/ELSA-2023-1582.html
- https://linux.oracle.com/errata/ELSA-2023-1583.html
- https://linux.oracle.com/errata/ELSA-2023-2654.html
- https://linux.oracle.com/errata/ELSA-2023-2655.html
- https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf
- https://github.com/nodejs/undici/releases/tag/v5.19.1
- https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w
- https://hackerone.com/bugs?report_id=1784449