Excessive Platform Resource Consumption within a Loop Affecting eap7-jboss-server-migration package, versions <0:1.10.0-39.Final_redhat_00039.1.el9eap


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-RHEL9-EAP7JBOSSSERVERMIGRATION-8187384
  • published15 Oct 2024
  • disclosed4 Mar 2024

Introduced: 4 Mar 2024

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

How to fix?

Upgrade RHEL:9 eap7-jboss-server-migration to version 0:1.10.0-39.Final_redhat_00039.1.el9eap or higher.
This issue was patched in RHSA-2024:8077.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-jboss-server-migration package and not the eap7-jboss-server-migration package as distributed by RHEL. See How to fix? for RHEL:9 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 Scores

version 3.1