Vulnerability Name:

CVE-2022-31150 (CCN-231853)

Assigned:2022-07-19
Published:2022-07-19
Updated:2022-10-28
Summary:undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N)
5.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-93
Vulnerability Consequences:Other
References:Source: MITRE
Type: CNA
CVE-2022-31150

Source: XF
Type: UNKNOWN
nodejs-cve202231150-response-splitting(231853)

Source: CCN
Type: undici GIT Repository
Merge pull request from GHSA-3cvr-822r-rqcc

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/nodejs/undici/releases/tag/v5.8.0

Source: CONFIRM
Type: Exploit, Third Party Advisory
https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc

Source: MISC
Type: Exploit, Third Party Advisory
https://hackerone.com/reports/409943

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20220915-0002/

Source: CCN
Type: SNYK-JS-UNDICI-2953389
CRLF Injection

Vulnerable Configuration:Configuration 1:
  • cpe:/a:nodejs:undici:*:*:*:*:*:node.js:*:* (Version < 5.8.0)

  • Configuration CCN 1:
  • cpe:/a:nodejs:node.js:*:*:*:*:-:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:754
    P
    Security update for nodejs16 (Moderate)
    2022-09-12
    BACK
    nodejs undici *
    nodejs node.js *