{"id":"CVE-2024-24474","state":"PUBLISHED","title":"QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO d","description":"QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO data. This occurs in esp_do_nodma in hw/scsi/esp.c because of an underflow of async_len.","publishedAt":"2024-02-20T00:00:00.000Z","updatedAt":"2024-08-15T20:20:15.400Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gitlab.com/qemu-project/qemu/-/issues/1810","https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52","https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e","https://security.netapp.com/advisory/ntap-20240510-0012/"],"weaknesses":["CWE-191","CWE-120"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/24xxx/CVE-2024-24474.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-24474","state":"PUBLISHED","datePublished":"2024-02-20T00:00:00.000Z","dateUpdated":"2024-08-15T20:20:15.400Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2024-01-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO data. This occurs in esp_do_nodma in hw/scsi/esp.c because of an underflow of async_len."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gitlab.com/qemu-project/qemu/-/issues/1810"},{"url":"https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52"},{"url":"https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e"},{"url":"https://security.netapp.com/advisory/ntap-20240510-0012/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-06-10T16:06:52.706Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.com/qemu-project/qemu/-/issues/1810","tags":["x_transferred"]},{"url":"https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52","tags":["x_transferred"]},{"url":"https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0012/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:19:52.622Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"qemu","product":"qemu","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"8.2.0","versionType":"custom"}],"cpes":["cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-08-15T20:18:14.559567Z","id":"CVE-2024-24474","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-191","type":"CWE","lang":"en","description":"CWE-191 Integer Underflow (Wrap or Wraparound)"}]},{"descriptions":[{"cweId":"CWE-120","type":"CWE","lang":"en","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-15T20:20:15.400Z"}}]}}}