Advisory

GHSA-4x5v-gmq8-25ch

Also known as: CVE-2021-43307

Summary

Regular expression denial of service in semver-regex

Details

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-06-03 00:01 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

semver-regex

npm · All systems

Affected

  • introduced 0, fixed 3.1.4 (semver)

Fixed versions

3.1.4

Fix

semver-regex

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.0.3 (semver)

Fixed versions

4.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences