SecurityContext

CVE-2022-42324: Oxenstored - Integer Overflow

  • Cve: CVE-2022-42324
  • Name: Oxenstored - Integer Overflow
  • Description: Oxenstored 32->31 bit integer truncation issues Integers in Ocaml are 63 or 31 bits of signed precision. The Ocaml Xenbus library takes a C uint32_t out of the ring and casts it directly to an Ocaml integer. In 64-bit Ocaml builds this is fine, but in 32-bit builds, it truncates off the most significant bit, and then creates unsigned/signed confusion in the remainder. This in turn can feed a negative value into logic not expecting a negative value, resulting in unexpected exceptions being thrown. The unexpected exception is not handled suitably, creating a busy-loop trying (and failing) to take the bad packet out of the xenstore ring.
  • Impact: Potential denial of service due to busy-loop caused by unexpected exceptions from negative values.
  • Remediation: Update to a version that handles 32-bit integers correctly or apply patches to prevent truncation.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00297
  • Epss percentile: 0.227
  • Assignee: [email protected]
  • Published at: 2022-11-01T13:15:12Z
  • Age in days: 1484
  • Modified at: 2026-06-17T05:04:43Z
  • Patch available: yes
  • References total: 8
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42324
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-681Incorrect Conversion between Numeric Types

References

Same in every row:

  • Source: nvd
UrlTags
http://xenbits.xen.org/xsa/advisory-420.htmlPatch, Vendor Advisory
https://xenbits.xenproject.org/xsa/advisory-420.txtPatch, Vendor Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/10Mailing List, Patch, Third Party Advisory
https://www.debian.org/security/2022/dsa-5272Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTMITQBGC23MSDHUCAPCVGLMVXIBXQTQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZVXG7OOOXCX6VIPEMLFDPIPUTFAYWPE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLI2NPNEH7CNJO3VZGQNOI4M4EWLNKPZ/
https://security.gentoo.org/glsa/202402-07

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
xen:xenall versions/v1/products/xen/xen
debian:debian_linux= 11.0/v1/products/debian/debian_linux
fedoraproject:fedora= 37, = 36, = 35/v1/products/fedoraproject/fedora

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports