SecurityContext

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

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6mnvd2023-01-31

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/sheredom/json.h/issues/93Issue Tracking, Patch, Third Party Advisory
https://github.com/sheredom/json.h/issues/97Issue Tracking, Patch, Third Party Advisory
https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6mExploit, Third Party Advisory
https://github.com/sheredom/json.hProduct, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
json.h_project:json.h< 2022-11-14nonvd/v1/products/json.h_project/json.h

Projects

RepositoryLink kindsIndexedUrl
sheredom/json.hissuesyes/v1/repositories/sheredom/json.h
hyrathon/trophiessecurity_advisoryyes/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