CVE-2020-36328
libwebp: heap-based buffer overflow in WebPDecode*Into functions
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Photon OS. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
Description
A flaw was found in libwebp in versions before 1.0.1. A heap-based buffer overflow in function WebPDecodeRGBInto is possible due to an invalid check for buffer size. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | libwebp | 0:1.0.3-1.cm1 |
| Photon OS 2.0 | libwebp | 1.0.3-1.ph2 |
| Photon OS 3.0 | libwebp | 1.0.3-1.ph3 |
| amazon linux 1 | libwebp, libwebp-debuginfo, libwebp-devel and 2 more | 0.3.0-10.7.amzn1 |
| amazon linux 2 | libwebp, libwebp-debuginfo, libwebp-devel and 5 more | 0.3.0-10.amzn2 and 1 more |
| conan::GitLab Advisory Database Community | libwebp | 1.0.3 |
| debian 10 | libwebp | 0.6.1-2+deb10u1 |
| debian 11 | libwebp | 0.6.1-2.1 |
| debian 12 | libwebp | 0.6.1-2.1 |
| debian 13 | libwebp | 0.6.1-2.1 |
| debian 14 | libwebp | 0.6.1-2.1 |
| debian 9 | libwebp | 0.5.2-1+deb9u1 |
Show all 44 entries from 26 sources
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | libwebp | 0:1.0.3-1.cm1 |
| Photon OS 2.0 | libwebp | 1.0.3-1.ph2 |
| Photon OS 3.0 | libwebp | 1.0.3-1.ph3 |
| amazon linux 1 | libwebp | 0.3.0-10.7.amzn1 |
| amazon linux 1 | libwebp-debuginfo | 0.3.0-10.7.amzn1 |
| amazon linux 1 | libwebp-devel | 0.3.0-10.7.amzn1 |
| amazon linux 1 | libwebp-java | 0.3.0-10.7.amzn1 |
| amazon linux 1 | libwebp-tools | 0.3.0-10.7.amzn1 |
| amazon linux 2 | libwebp | 0.3.0-10.amzn2 |
| amazon linux 2 | libwebp-debuginfo | 0.3.0-10.amzn2 |
| amazon linux 2 | libwebp-devel | 0.3.0-10.amzn2 |
| amazon linux 2 | libwebp-java | 0.3.0-10.amzn2 |
| amazon linux 2 | libwebp-tools | 0.3.0-10.amzn2 |
| amazon linux 2 | qt5-qtimageformats | 5.9.2-1.amzn2.0.2 |
| amazon linux 2 | qt5-qtimageformats-debuginfo | 5.9.2-1.amzn2.0.2 |
| amazon linux 2 | qt5-qtimageformats-doc | 5.9.2-1.amzn2.0.2 |
| conan::GitLab Advisory Database Community | libwebp | 1.0.3 |
| debian 10 | libwebp | 0.6.1-2+deb10u1 |
| debian 11 | libwebp | 0.6.1-2.1 |
| debian 12 | libwebp | 0.6.1-2.1 |
| debian 13 | libwebp | 0.6.1-2.1 |
| debian 14 | libwebp | 0.6.1-2.1 |
| debian 9 | libwebp | 0.5.2-1+deb9u1 |
| echo | libwebp | 0.6.1-2.1 |
| Oracle Linux 7 | libwebp | 0.3.0-10.el7_9 |
| Oracle Linux 7 | libwebp-devel | 0.3.0-10.el7_9 |
| Oracle Linux 7 | libwebp-java | 0.3.0-10.el7_9 |
| Oracle Linux 7 | libwebp-tools | 0.3.0-10.el7_9 |
| Oracle Linux 7 | qt5-qtimageformats | 5.9.7-2.el7_9 |
| Oracle Linux 7 | qt5-qtimageformats-doc | 5.9.7-2.el7_9 |
| Oracle Linux 8 | libwebp | 1.0.0-3.el8_4 |
| Oracle Linux 8 | libwebp-devel | 1.0.0-3.el8_4 |
| rocky 8 | libwebp | 1.0.0-3.el8_4 |
| rocky 8 | libwebp-devel | 1.0.0-3.el8_4 |
| ubuntu 14.04-ESM | libwebp | 0.4.0-4ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | libwebp | 0.4.4-1ubuntu0.1~esm1 |
| ubuntu 18.04 | libwebp | 0.6.1-2ubuntu0.18.04.1 |
| ubuntu 18.04-ESM | libwebp | 0.6.1-2ubuntu0.18.04.1 |
| ubuntu 20.04 | libwebp | 0.6.1-2ubuntu0.20.04.1 |
| ubuntu 20.04-ESM | libwebp | 0.6.1-2ubuntu0.20.04.1 |
| ubuntu 20.10 | libwebp | 0.6.1-2ubuntu0.20.10.1 |
| ubuntu 21.04 | libwebp | 0.6.1-2ubuntu0.21.04.1 |
| ubuntu 21.10 | libwebp | 0.6.1-2ubuntu1 |
| ubuntu 22.04 | libwebp | 0.6.1-2ubuntu1 |
References
- http://seclists.org/fulldisclosure/2021/Jul/54
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-25011.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-36328.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-36329.json
- https://access.redhat.com/security/cve/CVE-2020-36328
- https://bugzilla.redhat.com/show_bug.cgi?id=1956829
- https://linux.oracle.com/cve/CVE-2020-36328.html
- https://linux.oracle.com/errata/ELSA-2021-2354.html
All 17 references
- https://lists.debian.org/debian-lts-announce/2021/06/msg00005.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00006.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-36328
- https://security.netapp.com/advisory/ntap-20211112-0001/
- https://support.apple.com/kb/HT212601
- https://ubuntu.com/security/notices/USN-4971-1
- https://ubuntu.com/security/notices/USN-4971-2
- https://www.cve.org/CVERecord?id=CVE-2020-36328
- https://www.debian.org/security/2021/dsa-4930