UBUNTU-CVE-2024-4068

Source
https://ubuntu.com/security/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-10-15T14:15:25Z
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
Purl
pkg:deb/ubuntu/node-braces?arch=src?distro=esm-apps/bionic

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
Purl
pkg:deb/ubuntu/node-braces?arch=src?distro=focal

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
Purl
pkg:deb/ubuntu/node-braces?arch=src?distro=jammy

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.10 / node-braces

Package

Name
node-braces
Purl
pkg:deb/ubuntu/node-braces?arch=src?distro=oracular

Affected ranges

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

Affected versions

3.*

3.0.2+~3.0.1-1
3.0.3+~3.0.4-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-braces

Package

Name
node-braces
Purl
pkg:deb/ubuntu/node-braces?arch=src?distro=noble

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"
}