CVE-2019-11922
A race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.
What to do
Fixed builds are available from Alpine, 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 22.04 | libzstd | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libzstd | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libzstd | Fixed | 1.3.3+dfsg-2ubuntu1.1 | UBUNTU-CVE-2019-11922 |
| Ubuntu 16.04 | libzstd | Fix pending | 1.3.1+dfsg-1~ubuntu0.16.04.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2019-11922 |
| Debian 14 | libzstd | Fixed | 1.3.8+dfsg-2 | DEBIAN-CVE-2019-11922 |
| Debian 13 | libzstd | Fixed | 1.3.8+dfsg-2 | DEBIAN-CVE-2019-11922 |
| Debian 12 | libzstd | Fixed | 1.3.8+dfsg-2 | DEBIAN-CVE-2019-11922 |
| Red Hat Enterprise Linux 9 | libzstd | Not affected | ||
| Red Hat Enterprise Linux 9 | libzstd-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | zstd | Not affected | ||
| Red Hat Enterprise Linux 8 | libzstd | Not affected | ||
| Red Hat Enterprise Linux 8 | libzstd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic-EUCJP | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-common | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-errmsg | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test-data | Not affected | ||
| Red Hat Enterprise Linux 8 | zstd | Not affected | ||
| Alpine Linux 3.24 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.23 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.22 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.21 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.20 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.19 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.18 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.17 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.16 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.15 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.14 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.13 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.12 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
| Alpine Linux 3.11 | zstd | Fixed | 1.3.8-r0 | ALPINE-CVE-2019-11922 |
What the vendor says
As published in the CVE record by facebook, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Facebook Zstandard: affected: 1.3.8, unspecified to before 1.3.8; fixed in
1.3.8
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00008.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00062.html (vendor-advisory)
- https://usn.ubuntu.com/4108-1/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00078.html (vendor-advisory)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00062.html
- https://usn.ubuntu.com/4108-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00078.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.facebook.com/security/advisories/cve-2019-11922
- https://github.com/facebook/zstd/pull/1404/commits/3e5cdf1b6a85843e991d7d10f6a2567c15580da0
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.