Skip to content

Regular Expression Denial of Service (ReDoS)

High severity GitHub Reviewed Published Jun 13, 2019 to the GitHub Advisory Database • Updated Feb 12, 2025

Package

npm diff (npm)

Affected versions

< 3.5.0

Patched versions

3.5.0

Description

A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

References

Reviewed Jun 13, 2019
Published to the GitHub Advisory Database Jun 13, 2019
Last updated Feb 12, 2025

Severity

High

EPSS score

Weaknesses

Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-h6ch-v84p-w6p9

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.