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-6758-1.json
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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.5.1-1ubuntu0.1~esm1

Ecosystem specific

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

Ubuntu:20.04:LTS / node-json5

Package

Name
node-json5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.5.1-3ubuntu0.1

Ecosystem specific

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

Ubuntu:Pro:22.04:LTS / node-json5

Package

Name
node-json5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
2.2.0+dfsg-1ubuntu0.1~esm1

Ecosystem specific

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