Menu

Star on GitHub · 3.2k

CVE-2023-45143

3.9 · LOW

Undici is an HTTP/1.1 client written from scratch for Node.js.

Published Oct 12, 2023CWE-200EPSS 1.37%

Overview

CVE-2023-45143 is a low-severity vulnerability. It was published on October 12, 2023 and has a CVSS 3.1 base score of 3.9 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.9, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical description

Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-45143?

CVE-2023-45143 is a low-severity vulnerability. It was published on October 12, 2023 and has a CVSS 3.1 base score of 3.9 (LOW).

How severe is CVE-2023-45143?

This vulnerability has a CVSS 3.1 base score of 3.9, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-45143?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-45143?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-45143 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2023

View all