Ubuntu Security Notice
USN-6758-1
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | node-json5 | All versions before 0.5.1-1ubuntu0.1~esm1 (fixed in 0.5.1-1ubuntu0.1~esm1) |
| Ubuntu:20.04:LTS | node-json5 | All versions before 0.5.1-3ubuntu0.1 (fixed in 0.5.1-3ubuntu0.1) |
| Ubuntu:Pro:22.04:LTS | node-json5 | All versions before 2.2.0+dfsg-1ubuntu0.1~esm1 (fixed in 2.2.0+dfsg-1ubuntu0.1~esm1) |