5.3med

CVE-2018-1109

Regular Expression Denial of Service (ReDoS) in braces

Also known as GHSA-cwfw-4gq5-mrqx

Published 5 y ago · modified 4 mo ago · JSON

CVSS
5.3
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.4%
percentile 72%
Public exploits
0
none known

Summary

A vulnerability was found in Braces versions 2.2.0 and above, prior to 2.3.1. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

Exploit prediction (EPSS)

1.39% probability of exploitation in the next 30 days, higher than 72% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected packages

EcosystemPackageAffectedFixed in
npmbraces
>=2.2.0, <2.3.1
2.3.1

Affected products

  • n/a nodejs-braces

Classification

Weakness
  • CWE-185 Incorrect Regular Expression
  • CWE-400 Uncontrolled Resource Consumption

References

  • bugzilla.redhat.com /show_bug.cgi?id=1547272 · x_refsource_MISC, x_transferred
  • snyk.io /vuln/npm:braces:20180219 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-1109 · advisory
  • github.com /micromatch/braces/commit/abdafb0cae1e0c00f184abbadc692f4eaa98f451 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.