Inefficient Regular Expression Complexity Affecting yarn package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-YARN-15248435
  • published9 Feb 2026
  • disclosed21 Aug 2025

Introduced: 21 Aug 2025

CVE-2025-9308  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Minimos:latest yarn.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yarn package and not the yarn package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1