UBUNTU-CVE-2021-3713 (CVE-2021-3713)

Vulnerability from osv_ubuntu – Published: 2021-08-25 19:15 – Updated: 2025-09-08 16:46 – Source website
VLAI
Details

An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0. The device uses the guest supplied stream number unchecked, which can lead to out-of-bounds access to the UASDevice->data3 and UASDevice->status3 fields. A malicious guest user could use this flaw to crash QEMU or potentially achieve code execution with the privileges of the QEMU process on the host.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "qemu",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-block-extra",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-guest-agent",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-arm",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-common",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-data",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-gui",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-mips",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-misc",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-ppc",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-s390x",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-sparc",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-x86",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-x86-microvm",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-system-x86-xen",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-user",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-user-binfmt",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-user-static",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          },
          {
            "binary_name": "qemu-utils",
            "binary_version": "1:6.2+dfsg-2ubuntu5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "qemu",
        "purl": "pkg:deb/ubuntu/qemu@1:6.2+dfsg-2ubuntu5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:6.2+dfsg-2ubuntu5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0+dfsg-2expubuntu1",
        "1:6.0+dfsg-2expubuntu2",
        "1:6.0+dfsg-2expubuntu4"
      ]
    }
  ],
  "aliases": [],
  "details": "An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0. The device uses the guest supplied stream number unchecked, which can lead to out-of-bounds access to the UASDevice-\u003edata3 and UASDevice-\u003estatus3 fields. A malicious guest user could use this flaw to crash QEMU or potentially achieve code execution with the privileges of the QEMU process on the host.",
  "id": "UBUNTU-CVE-2021-3713",
  "modified": "2025-09-08T16:46:47Z",
  "published": "2021-08-25T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3713"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2021-3713"
    },
    {
      "type": "REPORT",
      "url": "https://lists.nongnu.org/archive/html/qemu-devel/2021-08/msg02766.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5307-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-3713"
    }
  ],
  "related": [
    "USN-5307-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-3713"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.