CVE-2022-45494: sheredom json.h - Buffer Overflow
- Cve: CVE-2022-45494
- Name: sheredom json.h - Buffer Overflow
- Description: Buffer overflow vulnerability in function json_parse_object in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.
- Impact: Attackers can execute arbitrary code and escalate privileges on the affected system.
- Remediation: Update to commit 0825301a07cbf51653882bf2b153cc81fdadf41 or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00425
- Epss percentile: 0.37581
- Assignee: [email protected]
- Published at: 2023-01-31T22:15:08Z
- Age in days: 1393
- Modified at: 2026-06-17T05:10:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-45494
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6m | nvd | 2023-01-31 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/sheredom/json.h/issues/93 | Issue Tracking, Patch, Third Party Advisory |
| https://github.com/sheredom/json.h/issues/97 | Issue Tracking, Patch, Third Party Advisory |
| https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6m | Exploit, Third Party Advisory |
| https://github.com/sheredom/json.h | Product, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| json.h_project:json.h | < 2022-11-14 | no | nvd | /v1/products/json.h_project/json.h |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sheredom/json.h | issues | yes | /v1/repositories/sheredom/json.h |
| hyrathon/trophies | security_advisory | yes | /v1/repositories/hyrathon/trophies |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-01-31
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts