UBUNTU-CVE-2025-8262

Source
https://ubuntu.com/security/CVE-2025-8262
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8262.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-8262
Upstream
Published
2025-07-28T07:15:00Z
Modified
2026-04-27T18:54:50.251898Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/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 was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.

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-8262.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-8262.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-8262.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-8262.json"

Ubuntu:26.04 / node-yarnpkg

Package

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

Affected ranges

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

Affected versions

4.*
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-8262.json"