CVE-2024-24474: Buffer Overflow

Published Feb 20, 2024
·
Updated

Last updated 13 August 2024

Other sources

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 espdonodma in hw/scsi/esp.c because of an underflow of asynclen.

Microsoft

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 espdonodma in hw/scsi/esp.c because of an underflow of asynclen.

Launchpad

Affected Software

5 affected componentsFixes available
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u71:9.0.2+ds-21:9.1.0+ds-3
Qemu Qemu<8.2.0
Microsoft cbl2 qemu 6.2.0-20
Microsoft cbl2 qemu 6.2.0-24
Microsoft cbl2 qemu 6.2.0-24

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u2Fixed in 1:7.2+dfsg-7+deb12u7Fixed in 1:9.0.2+ds-2Fixed in 1:9.1.0+ds-3
  2. Upgrade

    Upgrade qemu to a version that resolves this vulnerability.

    Fixed in 8.2.0

Event History

Feb 20, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Aug 13, 2024
Data Sourced
via Launchpad·06:43 AM
Description
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Updated
via Microsoft·07:00 AM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·06:48 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-24474?

CVE-2024-24474 is classified as a high severity vulnerability due to the potential for an integer underflow leading to a buffer overflow.

2

How do I fix CVE-2024-24474?

To fix CVE-2024-24474, update to QEMU versions 8.2.0 or later to ensure the integer underflow is addressed.

3

What causes CVE-2024-24474?

CVE-2024-24474 is caused by an integer underflow in the esp_do_nodma function, affecting non-DMA transfer lengths in QEMU.

4

Which versions of QEMU are affected by CVE-2024-24474?

QEMU versions prior to 8.2.0 are affected by CVE-2024-24474, including specific versions like 1:5.2+dfsg-11 and 1:9.1.0+ds-3.

5

Can CVE-2024-24474 lead to remote exploitation?

Yes, CVE-2024-24474 has the potential to be exploited remotely, which can allow attackers to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203