CVE-2022-46175: fedoraproject fedora
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.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 24-12-2022PublishedVulnerability first disclosed.
- 03-08-2024Last 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- CVE.orgCNA7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:HDiffers
- OSV · NpmEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:HDiffers
- wordfenceSource8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJson5
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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
- fedoraEOL37
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- github.com/json5/json5/security/advisories/GHSA-9c47-m6qq-7p4hREPORTAdvisoryWEBExploitThird Party Advisory
Show all 17 references
- github.com/json5/json5PACKAGE