8.8

CVE-2022-46175: fedoraproject fedora

Modified
AliasesUBUNTU-CVE-2022-46175USN-6758-1DEBIAN-CVE-2022-46175
Published 24-12-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-46175 is a high (CVSS 8.8) vulnerability in fedoraproject fedora. EPSS estimates a 9.70% chance of exploitation in the next 30 days, higher than 95.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
9.70%
0%100%
Low · +0.53 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 24-12-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

9.70%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

Increase +0.53 pp

From 9.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Json5

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard6 products
  • py3-json5All versions (No fix recorded)
  • py3.10-json5All versions (No fix recorded)
  • py3.11-json5All versions (No fix recorded)
  • py3.12-json5All versions (No fix recorded)
  • py3.13-json5All versions (No fix recorded)
Wolfi6 products
  • py3-json5All versions (No fix recorded)
  • py3.10-json5All versions (No fix recorded)
  • py3.11-json5All versions (No fix recorded)
  • py3.12-json5All versions (No fix recorded)
  • py3.13-json5All versions (No fix recorded)
Wordpress2 products
  • maps-block-apple≤ 1.0.3 (fixed in 1.1.0)
  • simple-podcasting≤ 1.3.0 (fixed in 1.4.0)
Debian1 product
  • node-json5< 0.5.1-1+deb10u1 | < 2.2.3+dfsg-1
Fedoraproject1 product
Json51 product
  • json5< 2.2.2 | < 1.0.2 | ≥ 2.0.0, < 2.2.2
Npm1 product
  • json5≥ 2.0.0, < 2.2.2 | < 1.0.2
Ubuntu1 product
  • node-json5< 0.5.1-1ubuntu0.1~esm1 | < 0.5.1-3ubuntu0.1 | < 2.2.0+dfsg-1ubuntu0.1~esm1

8 vendors · 19 products

References

17 links
Show all 17 references