跳转到帖子

Red Hat JBossEAP: Excessive Platform Resource Consumption within a Loop (CVE-2024-4068)

recommended_posts

发布于
  • Members

Red Hat JBossEAP: Excessive Platform Resource Consumption within a Loop (CVE-2024-4068)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:C)
Published
03/04/2024
Created
09/20/2024
Added
09/19/2024
Modified
12/20/2024

Description

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.. A flaw was found in the NPM package `braces.` It 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, causing 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.

Solution(s)

  • red-hat-jboss-eap-upgrade-latest

References

  • https://attackerkb.com/topics/cve-2024-4068
  • CVE - 2024-4068
  • https://access.redhat.com/security/cve/CVE-2024-4068
  • https://bugzilla.redhat.com/show_bug.cgi?id=2280600
  • https://devhub.checkmarx.com/cve-details/CVE-2024-4068/
  • https://github.com/micromatch/braces/blob/98414f9f1fabe021736e26836d8306d5de747e0d/lib/parse.js#L308
  • https://github.com/micromatch/braces/issues/35
  • https://access.redhat.com/errata/RHSA-2024:8075
  • https://access.redhat.com/errata/RHSA-2024:8076
  • https://access.redhat.com/errata/RHSA-2024:8077
  • https://access.redhat.com/errata/RHSA-2024:8080
View more
  • 查看数 714
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…