UBUNTU-CVE-2025-9308

Source
https://ubuntu.com/security/CVE-2025-9308
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9308.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-9308
Upstream
Published
2025-08-21T16:15:00Z
Modified
2026-01-20T19:17:10.115922Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.

References

Affected packages

Ubuntu:20.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.4-2?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.13.0-1build1
1.13.0-3
1.19.1-1
1.22.4-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "yarnpkg",
            "binary_version": "1.22.4-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9308.json"

Ubuntu:22.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.10+~cs22.25.14-8?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.22.10+~cs22.25.14-3
1.22.10+~cs22.25.14-4
1.22.10+~cs22.25.14-5
1.22.10+~cs22.25.14-8

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "yarnpkg",
            "binary_version": "1.22.10+~cs22.25.14-8"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9308.json"

Ubuntu:24.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.19+~cs24.27.18-4?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.22.19+~cs24.27.18-2
1.22.19+~cs24.27.18-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "yarnpkg",
            "binary_version": "1.22.19+~cs24.27.18-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9308.json"

Ubuntu:25.10 / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@4.1.0+dfsg-1?arch=source&distro=questing

Affected ranges

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

Affected versions

4.*
4.0.2+dfsg-3
4.1.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "yarnpkg",
            "binary_version": "4.1.0+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9308.json"