Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/braces@2.2.1
purl pkg:npm/braces@2.2.1
Next non-vulnerable version 3.0.3
Latest non-vulnerable version 3.0.3
Risk 4.0
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-2386-f4qn-sbfx
Aliases:
GMS-2019-5
Regular Expression Denial of Service Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.
2.3.1
Affected by 1 other vulnerability.
VCID-mssa-dgz3-w7fh
Aliases:
CVE-2024-4068
GHSA-grv7-fg5c-xmjg
Uncontrolled resource consumption in braces The NPM package `braces` fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
3.0.3
Affected by 0 other vulnerabilities.
VCID-ynup-8rhy-fbdz
Aliases:
GHSA-g95f-p29q-9xw4
GMS-2019-117
Duplicate Advisory: Regular Expression Denial of Service in braces ## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-cwfw-4gq5-mrqx. This link is maintained to preserve external references. ## Original Description Versions of `braces` prior to 2.3.1 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service. ## Recommendation Upgrade to version 2.3.1 or higher.
2.3.1
Affected by 1 other vulnerability.
VCID-zfmv-3d1v-qye6
Aliases:
CVE-2018-1109
GHSA-cwfw-4gq5-mrqx
Regular Expression Denial of Service (ReDoS) in braces A vulnerability was found in Braces versions from v2.2.0 up to but not including v2.3.1. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This has been patched in version 2.3.1.
2.3.1
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:57:54.446757+00:00 GitLab Importer Affected by VCID-mssa-dgz3-w7fh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2024-4068.yml 38.4.0
2026-04-16T21:37:06.470535+00:00 GitLab Importer Affected by VCID-zfmv-3d1v-qye6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2018-1109.yml 38.4.0
2026-04-16T20:55:13.549755+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-117.yml 38.4.0
2026-04-16T20:55:10.116892+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GHSA-g95f-p29q-9xw4.yml 38.4.0
2026-04-16T20:51:44.882515+00:00 GitLab Importer Affected by VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.4.0
2026-04-12T00:15:59.741637+00:00 GitLab Importer Affected by VCID-mssa-dgz3-w7fh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2024-4068.yml 38.3.0
2026-04-11T22:51:04.502493+00:00 GitLab Importer Affected by VCID-zfmv-3d1v-qye6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2018-1109.yml 38.3.0
2026-04-11T22:06:13.035907+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-117.yml 38.3.0
2026-04-11T22:06:09.448211+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GHSA-g95f-p29q-9xw4.yml 38.3.0
2026-04-11T22:02:29.993722+00:00 GitLab Importer Affected by VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.3.0
2026-04-03T00:23:01.084642+00:00 GitLab Importer Affected by VCID-mssa-dgz3-w7fh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2024-4068.yml 38.1.0
2026-04-02T23:00:29.476877+00:00 GitLab Importer Affected by VCID-zfmv-3d1v-qye6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2018-1109.yml 38.1.0
2026-04-02T22:19:02.342017+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-117.yml 38.1.0
2026-04-02T22:18:58.935396+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GHSA-g95f-p29q-9xw4.yml 38.1.0
2026-04-02T22:15:34.170633+00:00 GitLab Importer Affected by VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.1.0
2026-04-01T17:19:14.903929+00:00 GitLab Importer Affected by VCID-zfmv-3d1v-qye6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2018-1109.yml 38.0.0
2026-04-01T16:36:48.691699+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-117.yml 38.0.0
2026-04-01T16:36:44.869473+00:00 GitLab Importer Affected by VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GHSA-g95f-p29q-9xw4.yml 38.0.0
2026-04-01T16:33:02.979377+00:00 GitLab Importer Affected by VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.0.0