CVE-2019-12068
In QEMU 1:4.1-1, 1:2.1+dfsg-12+deb8u6, 1:2.8+dfsg-6+deb9u8, 1:3.1+dfsg-8~deb10u1, 1:3.1+dfsg-8+deb10u2, and 1:2.1+dfsg-12+deb8u12 (fixed), when executing script in lsi_execute_script(), the LSI scsi adapter emulator advances 's->dsp' index to read next opcode. This can lead to an infinite loop if the next opcode is empty. Move the existing loop exit after 10k iterations so that it covers no-op opcodes as well.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | qemu | Fixed | 1:4.2-1ubuntu1 | UBUNTU-CVE-2019-12068 |
| Ubuntu 18.04 | qemu | Fixed | 1:2.11+dfsg-1ubuntu7.20 | UBUNTU-CVE-2019-12068 |
| Ubuntu 16.04 | qemu | Fixed | 1:2.5+dfsg-5ubuntu10.42 | UBUNTU-CVE-2019-12068 |
| Ubuntu 14.04 | qemu | Fix pending | 2.0.0+dfsg-2ubuntu1.47 (Ubuntu Pro) | UBUNTU-CVE-2019-12068 |
| Debian 14 | qemu | Fixed | 1:4.1-2 | DEBIAN-CVE-2019-12068 |
| Debian 13 | qemu | Fixed | 1:4.1-2 | DEBIAN-CVE-2019-12068 |
| Debian 12 | qemu | Fixed | 1:4.1-2 | DEBIAN-CVE-2019-12068 |
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 5 | kvm | Not affected | ||
| Red Hat Enterprise Linux 5 | xen | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4191-2/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00034.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00038.html (vendor-advisory)
- https://usn.ubuntu.com/4191-1/ (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4665 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2019/09/msg00021.html
- https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg01518.html
- https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=de594e47659029316bbf9391efb79da0a1a08e08
- https://security-tracker.debian.org/tracker/CVE-2019-12068
- https://usn.ubuntu.com/4191-2/
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00038.html
- https://usn.ubuntu.com/4191-1/
- https://www.debian.org/security/2020/dsa-4665
- https://lists.debian.org/debian-lts-announce/2020/07/msg00020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.