UBUNTU-CVE-2025-22150

Source
https://ubuntu.com/security/CVE-2025-22150
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-22150.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-22150
Related
Published
2025-01-21T18:15:00Z
Modified
2025-01-23T16:08:45Z
Summary
[none]
Details

Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses Math.random() to choose the boundary for a multipart/form-data request. It is known that the output of Math.random() can be predicted if several of its generated values are known. If there is a mechanism in an app that sends multipart requests to an attacker-controlled website, they can use this to leak the necessary values. Therefore, an attacker can tamper with the requests going to the backend APIs if certain conditions are met. This is fixed in versions 5.28.5, 6.21.1, and 7.2.3. As a workaround, do not issue multipart requests to attacker controlled servers.

References

Affected packages

Ubuntu:24.10 / node-undici

Package

Name
node-undici
Purl
pkg:deb/ubuntu/node-undici@5.28.4+dfsg1+~cs23.12.11-2?arch=source&distro=oracular

Affected ranges

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

Affected versions

5.*

5.26.3+dfsg1+~cs23.10.12-2
5.28.2+dfsg1+~cs23.11.12.3-6ubuntu2
5.28.4+dfsg1+~cs23.12.11-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-undici

Package

Name
node-undici
Purl
pkg:deb/ubuntu/node-undici@5.26.3+dfsg1+~cs23.10.12-2?arch=source&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"
}