CVE-2024-4068 Affecting gitlab-rails-ce-fips-19.1 package, versions <19.1.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.47% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITLABRAILSCEFIPS191-17707322
  • published30 Jun 2026
  • disclosed14 May 2024

Introduced: 14 May 2024

CVE-2024-4068  (opens in a new tab)

How to fix?

Upgrade Chainguard gitlab-rails-ce-fips-19.1 to version 19.1.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitlab-rails-ce-fips-19.1 package and not the gitlab-rails-ce-fips-19.1 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

The NPM package braces, versions prior to 3.0.3, 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.

CVSS Base Scores

version 3.1