ubuntu-cve-2024-24474
Vulnerability from osv_ubuntu
Published
2024-02-20 18:15
Modified
2025-09-08 16:59
Summary
Details

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": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "qemu",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-block-extra",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-guest-agent",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-arm",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-common",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-data",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-gui",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-mips",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-misc",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-ppc",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-s390x",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-sparc",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-x86",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-x86-microvm",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-system-x86-xen",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-user",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-user-binfmt",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-user-static",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          },
          {
            "binary_name": "qemu-utils",
            "binary_version": "1:6.2+dfsg-2ubuntu6.22"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "qemu",
        "purl": "pkg:deb/ubuntu/qemu@1:6.2+dfsg-2ubuntu6.22?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:6.2+dfsg-2ubuntu6.22"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0+dfsg-2expubuntu1",
        "1:6.0+dfsg-2expubuntu2",
        "1:6.0+dfsg-2expubuntu4",
        "1:6.2+dfsg-2ubuntu5",
        "1:6.2+dfsg-2ubuntu6",
        "1:6.2+dfsg-2ubuntu6.1",
        "1:6.2+dfsg-2ubuntu6.2",
        "1:6.2+dfsg-2ubuntu6.3",
        "1:6.2+dfsg-2ubuntu6.4",
        "1:6.2+dfsg-2ubuntu6.5",
        "1:6.2+dfsg-2ubuntu6.6",
        "1:6.2+dfsg-2ubuntu6.7",
        "1:6.2+dfsg-2ubuntu6.8",
        "1:6.2+dfsg-2ubuntu6.9",
        "1:6.2+dfsg-2ubuntu6.10",
        "1:6.2+dfsg-2ubuntu6.11",
        "1:6.2+dfsg-2ubuntu6.12",
        "1:6.2+dfsg-2ubuntu6.13",
        "1:6.2+dfsg-2ubuntu6.14",
        "1:6.2+dfsg-2ubuntu6.15",
        "1:6.2+dfsg-2ubuntu6.16",
        "1:6.2+dfsg-2ubuntu6.17",
        "1:6.2+dfsg-2ubuntu6.18",
        "1:6.2+dfsg-2ubuntu6.19",
        "1:6.2+dfsg-2ubuntu6.21"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2024-24474",
  "modified": "2025-09-08T16:59:02Z",
  "published": "2024-02-20T18:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-24474"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-24474"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6954-1"
    }
  ],
  "related": [
    "USN-6954-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-24474"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…