Upstream information

CVE-2022-35949 at MITRE

Description

undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forgery) when an application takes in **user input** into the `path/pathname` option of `undici.request`. If a user specifies a URL such as `http://127.0.0.1` or `//127.0.0.1` ```js const undici = require("undici") undici.request({origin: "http://example.com", pathname: "//127.0.0.1"}) ``` Instead of processing the request as `http://example.org//127.0.0.1` (or `http://example.org/http://127.0.0.1` when `http://127.0.0.1 is used`), it actually processes the request as `http://127.0.0.1/` and sends it to `http://127.0.0.1`. If a developer passes in user input into `path` parameter of `undici.request`, it can result in an _SSRF_ as they will assume that the hostname cannot change, when in actual fact it can change because the specified path parameter is combined with the base URL. This issue was fixed in `undici@5.8.1`. The best workaround is to validate user input before passing it to the `undici.request` call.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.3 6.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact Low Low
Integrity Impact None Low
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1202382 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container bci/nodejs:16-7.1
  • nodejs16 >= 16.17.0-150400.3.6.1
  • npm16 >= 16.17.0-150400.3.6.1
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Web and Scripting 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • nodejs16 >= 16.17.0-150300.7.9.1
  • nodejs16-devel >= 16.17.0-150300.7.9.1
  • nodejs16-docs >= 16.17.0-150300.7.9.1
  • npm16 >= 16.17.0-150300.7.9.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-15-SP3-2022-3251
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Module for Web and Scripting 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • nodejs16 >= 16.17.0-8.9.1
  • nodejs16-devel >= 16.17.0-8.9.1
  • nodejs16-docs >= 16.17.0-8.9.1
  • npm16 >= 16.17.0-8.9.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-12-2022-3196
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Web and Scripting 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • nodejs16 >= 16.17.0-150400.3.6.1
  • nodejs16-devel >= 16.17.0-150400.3.6.1
  • nodejs16-docs >= 16.17.0-150400.3.6.1
  • npm16 >= 16.17.0-150400.3.6.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-15-SP4-2022-3250
openSUSE Leap 15.3
  • nodejs16 >= 16.17.0-150300.7.9.1
  • nodejs16-devel >= 16.17.0-150300.7.9.1
  • nodejs16-docs >= 16.17.0-150300.7.9.1
  • npm16 >= 16.17.0-150300.7.9.1
Patchnames:
openSUSE-SLE-15.3-2022-3251
openSUSE Leap 15.4
  • corepack16 >= 16.17.0-150400.3.6.1
  • nodejs16 >= 16.17.0-150400.3.6.1
  • nodejs16-devel >= 16.17.0-150400.3.6.1
  • nodejs16-docs >= 16.17.0-150400.3.6.1
  • npm16 >= 16.17.0-150400.3.6.1
Patchnames:
openSUSE-SLE-15.4-2022-3250
openSUSE Tumbleweed
  • corepack16 >= 16.17.0-2.1
  • nodejs16 >= 16.17.0-2.1
  • nodejs16-devel >= 16.17.0-2.1
  • nodejs16-docs >= 16.17.0-2.1
  • npm16 >= 16.17.0-2.1
Patchnames:
openSUSE-Tumbleweed-2024-12285


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Performance Computing 12 nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 12 nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 12 nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 12 nodejs16 Released
SUSE Linux Enterprise High Performance Computing 12 nodejs4 Unsupported
SUSE Linux Enterprise High Performance Computing 12 nodejs6 Unsupported
SUSE Manager Proxy 4.3 nodejs16 Released
SUSE Manager Retail Branch Server 4.3 nodejs16 Released
SUSE Manager Server 4.3 nodejs16 Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP2 nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2 nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3 nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 nodejs16 Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS nodejs16 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS nodejs12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS nodejs14 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS nodejs16 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 nodejs16 Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS nodejs16 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS nodejs16 Affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 nodejs10 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 nodejs12 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 nodejs14 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 nodejs8 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 SP3 nodejs12 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP3 nodejs14 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP3 nodejs16 Released
SUSE Linux Enterprise Module for Web and Scripting 15 SP4 nodejs16 Released
SUSE Linux Enterprise Server 12 SP5 nodejs10 Unsupported
SUSE Linux Enterprise Server 12 SP5 nodejs12 Not affected
SUSE Linux Enterprise Server 12 SP5 nodejs14 Not affected
SUSE Linux Enterprise Server 12 SP5 nodejs16 Released
SUSE Linux Enterprise Server 12 SP5 nodejs4 Unsupported
SUSE Linux Enterprise Server 12 SP5 nodejs6 Unsupported
SUSE Linux Enterprise Server 15 SP2 nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP2 nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP2 nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP2 nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP3 nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP3 nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP3 nodejs16 Released
SUSE Linux Enterprise Server 15 SP3-LTSS nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS nodejs16 Affected
SUSE Linux Enterprise Server 15 SP4 nodejs16 Released
SUSE Linux Enterprise Server 15 SP4-LTSS nodejs16 Affected
SUSE Linux Enterprise Server 15-ESPOS nodejs10 Unsupported
SUSE Linux Enterprise Server 15-ESPOS nodejs8 Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 nodejs10 Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 nodejs8 Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 nodejs10 Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 nodejs12 Not affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 nodejs14 Not affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 nodejs8 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs16 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs4 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP5 nodejs6 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 nodejs8 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP3 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 nodejs16 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 nodejs16 Released
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 nodejs10 Unsupported
SUSE CaaS Platform 4.0 nodejs8 Unsupported
SUSE Enterprise Storage 4 nodejs4 Unsupported
SUSE Enterprise Storage 4 nodejs6 Unsupported
SUSE Enterprise Storage 6 nodejs10 Unsupported
SUSE Enterprise Storage 6 nodejs8 Unsupported
SUSE Enterprise Storage 7 nodejs10 Unsupported
SUSE Enterprise Storage 7 nodejs12 Not affected
SUSE Enterprise Storage 7 nodejs14 Not affected
SUSE Enterprise Storage 7 nodejs8 Unsupported
SUSE Enterprise Storage 7.1 nodejs12 Not affected
SUSE Enterprise Storage 7.1 nodejs14 Not affected
SUSE Enterprise Storage 7.1 nodejs16 Released
SUSE Linux Enterprise High Performance Computing 15 nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15-ESPOS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15-ESPOS nodejs8 Unsupported
SUSE Linux Enterprise High Performance Computing 15-LTSS nodejs10 Unsupported
SUSE Linux Enterprise High Performance Computing 15-LTSS nodejs8 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs10 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs12 Not affected
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs14 Not affected
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs16 Released
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs4 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs6 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 nodejs10 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 nodejs8 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 SP1 nodejs10 Unsupported
SUSE Linux Enterprise Module for Web and Scripting 15 SP1 nodejs8 Unsupported
SUSE Linux Enterprise Server 12 nodejs10 Unsupported
SUSE Linux Enterprise Server 12 nodejs12 Not affected
SUSE Linux Enterprise Server 12 nodejs14 Not affected
SUSE Linux Enterprise Server 12 nodejs16 Released
SUSE Linux Enterprise Server 12 nodejs4 Unsupported
SUSE Linux Enterprise Server 12 nodejs6 Unsupported
SUSE Linux Enterprise Server 12 SP3 nodejs10 Unsupported
SUSE Linux Enterprise Server 12 SP3 nodejs12 Not affected
SUSE Linux Enterprise Server 12 SP3 nodejs14 Not affected
SUSE Linux Enterprise Server 12 SP3 nodejs16 Released
SUSE Linux Enterprise Server 12 SP3 nodejs4 Unsupported
SUSE Linux Enterprise Server 12 SP3 nodejs6 Unsupported
SUSE Linux Enterprise Server 12 SP4 nodejs10 Unsupported
SUSE Linux Enterprise Server 12 SP4 nodejs12 Not affected
SUSE Linux Enterprise Server 12 SP4 nodejs14 Not affected
SUSE Linux Enterprise Server 12 SP4 nodejs16 Released
SUSE Linux Enterprise Server 12 SP4 nodejs4 Unsupported
SUSE Linux Enterprise Server 12 SP4 nodejs6 Unsupported
SUSE Linux Enterprise Server 15 nodejs10 Unsupported
SUSE Linux Enterprise Server 15 nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP1 nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP1 nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP1-BCL nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP1-BCL nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP1-LTSS nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP1-LTSS nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP2-BCL nodejs10 Unsupported
SUSE Linux Enterprise Server 15 SP2-BCL nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP2-BCL nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP2-BCL nodejs8 Unsupported
SUSE Linux Enterprise Server 15 SP3-BCL nodejs12 Not affected
SUSE Linux Enterprise Server 15 SP3-BCL nodejs14 Not affected
SUSE Linux Enterprise Server 15 SP3-BCL nodejs16 Affected
SUSE Linux Enterprise Server 15-LTSS nodejs10 Unsupported
SUSE Linux Enterprise Server 15-LTSS nodejs8 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 nodejs16 Released
SUSE Linux Enterprise Server for SAP Applications 12 nodejs4 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 nodejs6 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs16 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs4 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP3 nodejs6 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs12 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs14 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs16 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs4 Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 nodejs6 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 nodejs8 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 nodejs10 Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 nodejs8 Unsupported
SUSE Manager Proxy 4.0 nodejs10 Unsupported
SUSE Manager Proxy 4.0 nodejs8 Unsupported
SUSE Manager Proxy 4.1 nodejs10 Unsupported
SUSE Manager Proxy 4.1 nodejs12 Not affected
SUSE Manager Proxy 4.1 nodejs14 Not affected
SUSE Manager Proxy 4.1 nodejs8 Unsupported
SUSE Manager Proxy 4.2 nodejs12 Not affected
SUSE Manager Proxy 4.2 nodejs14 Not affected
SUSE Manager Proxy 4.2 nodejs16 Released
SUSE Manager Retail Branch Server 4.0 nodejs10 Unsupported
SUSE Manager Retail Branch Server 4.0 nodejs8 Unsupported
SUSE Manager Retail Branch Server 4.1 nodejs10 Unsupported
SUSE Manager Retail Branch Server 4.1 nodejs12 Not affected
SUSE Manager Retail Branch Server 4.1 nodejs14 Not affected
SUSE Manager Retail Branch Server 4.1 nodejs8 Unsupported
SUSE Manager Retail Branch Server 4.2 nodejs12 Not affected
SUSE Manager Retail Branch Server 4.2 nodejs14 Not affected
SUSE Manager Retail Branch Server 4.2 nodejs16 Released
SUSE Manager Server 4.0 nodejs10 Unsupported
SUSE Manager Server 4.0 nodejs8 Unsupported
SUSE Manager Server 4.1 nodejs10 Unsupported
SUSE Manager Server 4.1 nodejs12 Not affected
SUSE Manager Server 4.1 nodejs14 Not affected
SUSE Manager Server 4.1 nodejs8 Unsupported
SUSE Manager Server 4.2 nodejs12 Not affected
SUSE Manager Server 4.2 nodejs14 Not affected
SUSE Manager Server 4.2 nodejs16 Released
SUSE OpenStack Cloud 7 nodejs6 Unsupported
SUSE OpenStack Cloud Crowbar 8 nodejs6 Unsupported
SUSE OpenStack Cloud Crowbar 9 nodejs6 Unsupported
openSUSE Leap 15.3 nodejs10 Unsupported
openSUSE Leap 15.3 nodejs12 Not affected
openSUSE Leap 15.3 nodejs14 Not affected
openSUSE Leap 15.3 nodejs16 Affected
openSUSE Leap 15.3 nodejs8 Unsupported
openSUSE Leap 15.4 nodejs10 Unsupported
openSUSE Leap 15.4 nodejs12 Not affected
openSUSE Leap 15.4 nodejs14 Not affected
openSUSE Leap 15.4 nodejs16 Affected
openSUSE Leap 15.4 nodejs8 Unsupported
Container Status
bci/node:12 nodejs12Not affected
bci/node:14 nodejs14Not affected
bci/node:16 nodejs16Released
bci/nodejs nodejs16In progress


SUSE Timeline for this CVE

CVE page created: Sat Aug 13 04:00:04 2022
CVE page last modified: Fri Nov 1 12:36:16 2024