UBUNTU-CVE-2024-4068

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2024-4068
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-4068.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-4068
Related
Published
2024-05-14T15:42:00Z
Modified
2024-05-14T15:42:00Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-braces

Package

Name
node-braces

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.2-1
2.0.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-braces

Package

Name
node-braces

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-braces

Package

Name
node-braces

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.2+~3.0.0-1
3.0.2+~3.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-braces

Package

Name
node-braces

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.2+~3.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}