[USN-6758-1] JSON5 vulnerability

Luci Stanescu luci.stanescu at canonical.com
Tue Apr 30 12:25:35 UTC 2024

Ubuntu Security Notice USN-6758-1
April 30, 2024

node-json5 vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS


JSON5 could allow unintended access to network services or have other
unspecified impact.

Software Description:
- node-json5: JSON for the ES5 era


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.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS
   node-json5                      2.2.0+dfsg-1ubuntu0.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 20.04 LTS
   node-json5                      0.5.1-3ubuntu0.1

Ubuntu 18.04 LTS
   node-json5                      0.5.1-1ubuntu0.1~esm1
                                   Available with Ubuntu Pro

After a standard system update you may need to restart any services that use
the library to make all the necessary changes.


Package Information:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20240430/68ed3934/attachment.sig>

More information about the ubuntu-security-announce mailing list