{"id":"UBUNTU-CVE-2021-3700","details":"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.","modified":"2026-04-22T14:52:05.857817Z","published":"2022-02-24T19:15:00Z","related":["USN-5784-1"],"upstream":["CVE-2021-3700"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3700"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2021-3700"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5784-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3700"}],"affected":[{"package":{"name":"usbredir","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/usbredir@0.6-2ubuntu1.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-2ubuntu1.1+esm1"}]}],"versions":["0.6-2","0.6-2ubuntu1","0.6-2ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libusbredirhost1","binary_version":"0.6-2ubuntu1.1+esm1"},{"binary_name":"libusbredirparser1","binary_version":"0.6-2ubuntu1.1+esm1"},{"binary_name":"usbredirserver","binary_version":"0.6-2ubuntu1.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3700.json"}},{"package":{"name":"usbredir","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/usbredir@0.7.1-1ubuntu0.16.04.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-1ubuntu0.16.04.1~esm1"}]}],"versions":["0.7-1ubuntu2","0.7.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libusbredirhost1","binary_version":"0.7.1-1ubuntu0.16.04.1~esm1"},{"binary_version":"0.7.1-1ubuntu0.16.04.1~esm1","binary_name":"libusbredirparser1"},{"binary_name":"usbredirserver","binary_version":"0.7.1-1ubuntu0.16.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3700.json"}},{"package":{"name":"usbredir","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/usbredir@0.7.1-1ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-1ubuntu0.18.04.1"}]}],"versions":["0.7.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libusbredirhost1","binary_version":"0.7.1-1ubuntu0.18.04.1"},{"binary_name":"libusbredirparser1","binary_version":"0.7.1-1ubuntu0.18.04.1"},{"binary_name":"usbredirserver","binary_version":"0.7.1-1ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3700.json"}},{"package":{"name":"usbredir","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/usbredir@0.8.0-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-1ubuntu0.1"}]}],"versions":["0.8.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libusbredirhost1","binary_version":"0.8.0-1ubuntu0.1"},{"binary_name":"libusbredirparser1","binary_version":"0.8.0-1ubuntu0.1"},{"binary_name":"usbredirserver","binary_version":"0.8.0-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3700.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}