#VU67165 Exposure of Resource to Wrong Sphere in undici - CVE-2022-31151


Vulnerability identifier: #VU67165

Vulnerability risk: Low

CVSSv4.0: [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-31151

CWE-ID: CWE-668

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
undici
Server applications / File servers (FTP/HTTP)

Vendor: Node.js

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to the way application include cookie headers in HTTP redirects. A remote attacker can leverage existing open redirect issue to expose sensitive cookies to a third-party website.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

undici: 1.0.0 - 5.7.0


External links
http://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp
http://github.com/nodejs/undici/issues/872
http://hackerone.com/reports/1635514
http://security.netapp.com/advisory/ntap-20220909-0006/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability