Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3700

A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3700
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:51 UTC · Revision 1

Source evidence

CVE-2021-3700

core-osv · Original source

Published 24 Feb 2022, 19:15 UTC

A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.

osv:CVE-2021-3700
Complete source record
{
  "id": "9ee99b352ec8abae2f1594774d23202782e983ed4e0f6fae9ffd76eff9a0f413",
  "url": "https://osv.dev/vulnerability/CVE-2021-3700",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3700",
    "summary": "A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.",
    "evidence": "osv:CVE-2021-3700",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3700",
      "aliases": [
        "CVE-2021-3700"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.freedesktop.org/spice/usbredir",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3dae79daa70c0b62e64fc6bf1b7e68757a812db0"
                },
                {
                  "fixed": "03c519ff5831ba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:spice-space:usbredir:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "03c519ff5831ba"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "usbredir-0.10.0",
            "usbredir-0.9.0",
            "usbredir-0.8.0",
            "usbredir-0.7.1",
            "usbredir-0.7",
            "usbredir-0.6",
            "usbredir-0.5.2",
            "usbredir-0.4.3",
            "usbredir-0.5.1",
            "usbredir-0.5",
            "usbredir-0.4.2",
            "usbredir-0.4.1",
            "usbredir-0.4",
            "usbredir-0.3.3",
            "usbredir-0.3.2",
            "usbredir-0.3.1",
            "usbredir-0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3700.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:50.181965594Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2022/03/msg00030.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1992830",
        "https://gitlab.freedesktop.org/spice/usbredir/-/commit/03c519ff5831ba"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3700",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386242,
  "published_at": "2022-02-24T19:15:09.26+00:00"
}