Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/braces@2.3.1
purl pkg:npm/braces@2.3.1
Next non-vulnerable version 3.0.3
Latest non-vulnerable version 3.0.3
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
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.
Vulnerabilities fixed by this package (3)
Vulnerability Summary Aliases
VCID-2386-f4qn-sbfx 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. GMS-2019-5
VCID-ynup-8rhy-fbdz 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. GHSA-g95f-p29q-9xw4
GMS-2019-117
VCID-zfmv-3d1v-qye6 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. CVE-2018-1109
GHSA-cwfw-4gq5-mrqx

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:57:54.456735+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.474292+00:00 GitLab Importer Fixing 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.559358+00:00 GitLab Importer Fixing 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.126763+00:00 GitLab Importer Fixing 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.892625+00:00 GitLab Importer Fixing 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.752313+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.513636+00:00 GitLab Importer Fixing 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.046277+00:00 GitLab Importer Fixing 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.459171+00:00 GitLab Importer Fixing 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:30.004710+00:00 GitLab Importer Fixing 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.095660+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.487194+00:00 GitLab Importer Fixing 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.351460+00:00 GitLab Importer Fixing 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.945140+00:00 GitLab Importer Fixing 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.180422+00:00 GitLab Importer Fixing VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.1.0
2026-04-01T15:59:14.614591+00:00 GHSA Importer Fixing VCID-zfmv-3d1v-qye6 https://github.com/advisories/GHSA-cwfw-4gq5-mrqx 38.0.0
2026-04-01T15:57:31.917760+00:00 GHSA Importer Fixing VCID-ynup-8rhy-fbdz https://github.com/advisories/GHSA-g95f-p29q-9xw4 38.0.0
2026-04-01T13:05:39.320224+00:00 GithubOSV Importer Fixing VCID-zfmv-3d1v-qye6 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-cwfw-4gq5-mrqx/GHSA-cwfw-4gq5-mrqx.json 38.0.0
2026-04-01T13:04:40.180297+00:00 GithubOSV Importer Fixing VCID-ynup-8rhy-fbdz https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-g95f-p29q-9xw4/GHSA-g95f-p29q-9xw4.json 38.0.0
2026-04-01T12:49:14.541149+00:00 GitLab Importer Fixing VCID-zfmv-3d1v-qye6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/CVE-2018-1109.yml 38.0.0
2026-04-01T12:48:31.031989+00:00 GitLab Importer Fixing VCID-ynup-8rhy-fbdz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-117.yml 38.0.0
2026-04-01T12:48:30.926352+00:00 GitLab Importer Fixing 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-01T12:48:17.655922+00:00 GitLab Importer Fixing VCID-2386-f4qn-sbfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/braces/GMS-2019-5.yml 38.0.0