Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-4068

Опубликовано: 04 мар. 2024
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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.

Отчет

Moderate impact: In Red Hat products and services that include the vulnerable NPM package braces, a remote, unauthenticated attacker can provide crafted input containing imbalanced braces. The parser may enter an unbounded loop and allocate heap memory without freeing it, exhausting the JavaScript heap and crashing the application, causing a denial of service. The CVSS 3.1 score is 7.5 (Important), with a network attack vector, low complexity, no privileges or user interaction, and high availability impact; Red Hat's score matches the CVE.org score. The current affects cover multiple Red Hat products and services and community projects. Some current product streams are marked not affected or won't fix; the record does not provide a technical justification for those distinctions.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Cryostat 2bracesAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Under investigation
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel8Under investigation
Migration Toolkit for Applications 7mta/mta-cli-rhel9Not affected
Migration Toolkit for Applications 7mta/mta-ui-rhel9Will not fix
Migration Toolkit for RuntimesbracesAffected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Will not fix
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Under investigation

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-1050
https://bugzilla.redhat.com/show_bug.cgi?id=2280600braces: fails to limit the number of characters it can handle

EPSS

Процентиль: 74%
0.01471
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
больше 2 лет назад

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.

CVSS3: 7.5
nvd
больше 2 лет назад

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.

CVSS3: 7.5
msrc
3 месяца назад

Memory Exhaustion in braces

CVSS3: 7.5
debian
больше 2 лет назад

The NPM package `braces`, versions prior to 3.0.3, fails to limit the ...

CVSS3: 7.5
github
больше 2 лет назад

Uncontrolled resource consumption in braces

EPSS

Процентиль: 74%
0.01471
Низкий

7.5 High

CVSS3