Описание
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.
Меры по смягчению последствий
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 2 | braces | Affected | ||
Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Under investigation | ||
Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel9 | Under investigation | ||
Migration Toolkit for Applications 7 | mta/mta-cli-rhel9 | Not affected | ||
Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Will not fix | ||
Migration Toolkit for Runtimes | braces | Affected | ||
Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Affected | ||
Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Will not fix | ||
Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Will not fix | ||
OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Under investigation |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
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.
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.
The NPM package `braces`, versions prior to 3.0.3, fails to limit the ...
EPSS
7.5 High
CVSS3