{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-42324","assignerOrgId":"23aa2041-22e1-471f-9209-9b7396fa234f","assignerShortName":"XEN","dateUpdated":"2024-08-03T13:03:45.972Z","dateReserved":"2022-10-03T00:00:00.000Z","datePublished":"2022-11-01T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"23aa2041-22e1-471f-9209-9b7396fa234f","shortName":"XEN","dateUpdated":"2024-02-04T08:07:22.705Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Xen","product":"xen","versions":[{"version":"consult Xen advisory XSA-420","status":"unknown"}]}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-420.txt"},{"url":"http://xenbits.xen.org/xsa/advisory-420.html"},{"name":"[oss-security] 20221101 Xen Security Advisory 420 v2 (CVE-2022-42324) - Oxenstored 32->31 bit integer truncation issues","tags":["mailing-list"],"url":"http://www.openwall.com/lists/oss-security/2022/11/01/10"},{"name":"DSA-5272","tags":["vendor-advisory"],"url":"https://www.debian.org/security/2022/dsa-5272"},{"name":"FEDORA-2022-07438e12df","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLI2NPNEH7CNJO3VZGQNOI4M4EWLNKPZ/"},{"name":"FEDORA-2022-99af00f60e","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZVXG7OOOXCX6VIPEMLFDPIPUTFAYWPE/"},{"name":"FEDORA-2022-9f51d13fa3","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTMITQBGC23MSDHUCAPCVGLMVXIBXQTQ/"},{"name":"GLSA-202402-07","tags":["vendor-advisory"],"url":"https://security.gentoo.org/glsa/202402-07"}],"credits":[{"lang":"en","value":"{'credit_data': {'description': {'description_data': [{'lang': 'eng', 'value': 'This issue was discovered by Jürgen Groß of SUSE.'}]}}}"}],"metrics":[{"other":{"type":"unknown","content":{"description":{"description_data":[{"lang":"eng","value":"A malicious or buggy guest can write a packet into the xenstore ring\nwhich causes 32-bit builds of oxenstored to busy loop."}]}}}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"unknown"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T13:03:45.972Z"},"title":"CVE Program Container","references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-420.txt","tags":["x_transferred"]},{"url":"http://xenbits.xen.org/xsa/advisory-420.html","tags":["x_transferred"]},{"name":"[oss-security] 20221101 Xen Security Advisory 420 v2 (CVE-2022-42324) - Oxenstored 32->31 bit integer truncation issues","tags":["mailing-list","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2022/11/01/10"},{"name":"DSA-5272","tags":["vendor-advisory","x_transferred"],"url":"https://www.debian.org/security/2022/dsa-5272"},{"name":"FEDORA-2022-07438e12df","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLI2NPNEH7CNJO3VZGQNOI4M4EWLNKPZ/"},{"name":"FEDORA-2022-99af00f60e","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZVXG7OOOXCX6VIPEMLFDPIPUTFAYWPE/"},{"name":"FEDORA-2022-9f51d13fa3","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTMITQBGC23MSDHUCAPCVGLMVXIBXQTQ/"},{"name":"GLSA-202402-07","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202402-07"}]}]}}