UBUNTU-CVE-2023-45143

Source
https://ubuntu.com/security/CVE-2023-45143
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45143.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-45143
Related
Published
2023-10-12T17:15:00Z
Modified
2024-10-15T14:11:47Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:24.10 / node-undici

Package

Name
node-undici
Purl
pkg:deb/ubuntu/node-undici?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2

Affected versions

5.*

5.26.3+dfsg1+~cs23.10.12-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "9.1.3~5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2",
            "binary_name": "libllhttp-dev"
        },
        {
            "binary_version": "9.1.3~5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2",
            "binary_name": "libllhttp9.1"
        },
        {
            "binary_version": "9.1.3~5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2",
            "binary_name": "libllhttp9.1-dbgsym"
        },
        {
            "binary_version": "9.1.3~5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2",
            "binary_name": "node-llhttp"
        },
        {
            "binary_version": "5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2",
            "binary_name": "node-undici"
        }
    ]
}

Ubuntu:24.04:LTS / node-undici

Package

Name
node-undici
Purl
pkg:deb/ubuntu/node-undici?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.22.1+dfsg1+~cs20.10.10.2-1ubuntu1
5.26.3+dfsg1+~cs23.10.12-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}