[24] Uncontrolled resource consumption in braces #444

Open
opened 2024-06-24 18:41:19 +01:00 by Helpdesk · 0 comments
Member

Package: braces (npm)
Affected versions: < 3.0.3
Patched version: 3.0.3

https://github.com/Vylpes/vylbot-app/security/dependabot/24


The NPM package braces 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.

Package: braces (npm) Affected versions: < 3.0.3 Patched version: 3.0.3 https://github.com/Vylpes/vylbot-app/security/dependabot/24 --- The NPM package `braces` 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.
Helpdesk added the
type
alert
label 2024-06-24 18:41:27 +01:00
Vylpes added this to the 3.2.3 milestone 2024-06-24 18:48:35 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-app#444
No description provided.