Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

DLA-3665-1

Active Unknown

node-json5 - security update

Published
25 Nov 2023, 00:00:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

1
Publisher relationship details 1 records
Explicit publisher CVE relationships
CVERelationshipPublisher CVE fieldPublisher evidence
CVE-2022-46175Listed by advisory
Exact relationship valueadvisory_list
Dsa/dla Structured Text List
Exact field valueDSA/DLA structured-text list
https://security-tracker.debian.org/tracker/CVE-2022-46175

Description

CVE-2022-46175: JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The `parse` method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named `__proto__`, allowing specially crafted strings to pollute the prototype of the

Read full publisher description 1446 characters

CVE-2022-46175: JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The `parse` method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named `__proto__`, allowing specially crafted strings to pollute the prototype of the resulting object. This vulnerability pollutes the prototype of the object returned by `JSON5.parse` and not the global Object prototype, which is the commonly understood definition of Prototype Pollution. However, polluting the prototype of a single object can have significant security impact for an application if the object is later used in trusted operations. This vulnerability could allow an attacker to set arbitrary and unexpected keys on the object returned from `JSON5.parse`. The actual impact will depend on how applications utilize the returned object and how they filter unwanted keys, but could include denial of service, cross-site scripting, elevation of privilege, and in extreme cases, remote code execution. `JSON5.parse` should restrict parsing of `__proto__` keys when parsing JSON strings to objects. As a point of reference, the `JSON.parse` method included in JavaScript ignores `__proto__` keys. Simply changing `JSON5.parse` to `JSON.parse` in the examples above mitigates this vulnerability. This vulnerability is patched in json5 versions 1.0.2, 2.2.2, and later.

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

1

Shared package data

Applies to this occurrence
Package role
Source package
Ecosystem
Debian:buster
Fixed version
0.5.1-1+deb10u1

Affected ranges and events

  • ECOSYSTEMRepository Not supplied in this record
    • Fixed at 0.5.1-1+deb10u1
  1. 1node-json5Source package

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

2
  • DLA-3665-1 advisory · Tags: Unknown https://www.debian.org/lts/security/2023/dla-3665
  • CVE-2022-46175 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2022-46175

Provenance

Schema version
Unknown
Parser version
debian-dsa-dla-tracker/1
Attribution
Debian Security Team
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
structured_advisory_listhttps://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DLA/listUnknown8f0b153cca3cf0b460d3d0f3f21ce9d2721b51fba73e6e39670f96b988c70684debian-dsa-dla-tracker/1Unknown

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected