nodejs-braces: Regular Expression Denial of Service (ReDoS) in lib/parsers.js
Published Mar 30, 2021
5.3
MEDIUMCVSS 3.1
EPSS 1.39%
Description
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.
Affected products
- Vendor n/a Product Nodejs-Braces Defaultn/a
- Version 2.2.0StatusaffectedConstraints<2.3.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Nodejs-Braces | n/a |
|
- < 2.3.1
No data.
Red Hat Quay 3
quay/quay-rhel8:v3.6.0-62
Fixed · RHSA-2021:3917
Red Hat Mobile Application Platform 4
nodejs-braces
Not affected
Red Hat OpenShift Enterprise 3
nodejs-braces
Not affected
Red Hat Software Collections
rh-nodejs4-nodejs-braces
Not affected
Red Hat Software Collections
rh-nodejs6-nodejs-braces
Not affected
Red Hat Software Collections
rh-nodejs8-nodejs-braces
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quay 3 | quay/quay-rhel8:v3.6.0-62 | Fixed | RHSA-2021:3917 |
| Red Hat Mobile Application Platform 4 | nodejs-braces | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | nodejs-braces | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs-braces | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs-braces | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs8-nodejs-braces | Not affected | n/a |
braces
npm
Introduced 2.2.0 Fixed 2.3.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | braces | 2.2.0 | 2.3.1 |
Remediation
Red Hat statement
Red Hat Quay includes braces as a dependency of webpack. Braces is only used at build time, not at runtime, reducing the impact of this vulnerability to low.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.39% (0.01389) | 71.30th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.39% (0.01389) | 71.08th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.12% (0.00117) | 46.01th | v3 (v2023.03.01) |
| Dec 13, 2023 | 0.12% (0.00117) | 45.31th | v3 (v2023.03.01) |
| Nov 3, 2023 | 0.10% (0.00102) | 41.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00088) | 36.05th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00777) | 21.50th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-1109 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1547272 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/advisories/GHSA-cwfw-4gq5-mrqx Advisory
- https://github.com/micromatch/braces/commit/abdafb0cae1e0c00f184abbadc692f4eaa98f451
- https://nvd.nist.gov/vuln/detail/CVE-2018-1109
- https://snyk.io/vuln/npm:braces:20180219 x_refsource_MISCExploitThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1109
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-1109 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1547272 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://github.com/advisories/GHSA-cwfw-4gq5-mrqx | Advisory | |
| https://github.com/micromatch/braces/commit/abdafb0cae1e0c00f184abbadc692f4eaa98f451 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-1109 | ||
| https://snyk.io/vuln/npm:braces:20180219 | x_refsource_MISCExploitThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-1109 |
Change history (0)
No recorded changes yet.