USN-6758-1

Source
https://ubuntu.com/security/notices/USN-6758-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6758-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6758-1
Related
Published
2024-04-30T10:50:09.254378Z
Modified
2024-04-30T10:50:09.254378Z
Summary
node-json5 vulnerability
Details

It was discovered that the JSON5 parse method incorrectly handled the parsing of keys named __proto__. An attacker could possibly use this issue to pollute the prototype of the returned object, setting arbitrary or unexpected keys, and cause a denial of service, allow unintended access to network services or have other unspecified impact, depending on the application's use of the module.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-json5

Package

Name
node-json5
Purl
pkg:deb/ubuntu/node-json5?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1-1ubuntu0.1~esm1

Affected versions

0.*

0.5.0-1
0.5.1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.5.1-1ubuntu0.1~esm1",
            "binary_name": "node-json5"
        }
    ]
}

Ubuntu:20.04:LTS / node-json5

Package

Name
node-json5
Purl
pkg:deb/ubuntu/node-json5?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1-3ubuntu0.1

Affected versions

0.*

0.5.1-1
0.5.1-3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.5.1-3ubuntu0.1",
            "binary_name": "node-json5"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / node-json5

Package

Name
node-json5
Purl
pkg:deb/ubuntu/node-json5?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.0+dfsg-1ubuntu0.1~esm1

Affected versions

2.*

2.1.3-2
2.1.3-3
2.2.0+dfsg-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.2.0+dfsg-1ubuntu0.1~esm1",
            "binary_name": "node-json5"
        }
    ]
}