CVE-2023-1999
Mozilla: libwebp: Double-free in libwebp
Overview
Description
There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-416, CWE-415
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | libwebp | >=0.4.2 <1.3.1 | 1.3.1 |
| Julia | libwebp_jll | <1.3.2+0 | 1.3.2+0 |
Open a package to see all its vulnerabilities.
Operating systems · 72 fixes
Oracle Linux 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libwebp +3 | 0.3.0-11.el7 |
| 8 | libwebp +1 | 1.0.0-8.el8_7 |
| 9 | libwebp +1 | 1.2.0-6.el9_1 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | libwebp +1 | 1.1.0-6.ph4 |
| 5.0 | libwebp +1 | 1.3.1-1.ph5 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libwebp +3 | 0:0.3.0-11.el7 | RHSA-2023:2077 |
| 7 | firefox | 0:102.10.0-1.el7_9 | RHSA-2023:1791 |
| 7 | thunderbird | 0:102.10.0-2.el7_9 | RHSA-2023:1806 |
| 8 | libwebp +1 | 0:1.0.0-5.2.el8_1 | RHSA-2023:2073 |
| 8 | libwebp +1 | 0:1.0.0-7.el8_2 | RHSA-2023:2072 |
| 8 | libwebp +1 | 0:1.0.0-7.el8_4 | RHSA-2023:2084 |
18 more rows
SUSE Linux Enterprise 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libwebp-devel +5 | 0.4.3-4.10.1 | SUSE-SU-2023:2552-1 |
| 15.4 | libwebp6 +1 | 0.5.0-150000.3.11.1 | SUSE-SU-2023:2490-1 |
| 15.4 | libwebp-devel +5 | 1.0.3-150200.3.5.1 | SUSE-SU-2023:2467-1 |
| 15.4 | mozillathunderbird +2 | 102.10.1-150200.8.113.2 | SUSE-SU-2023:2064-1 |
| 15.5 | libwebp6 +1 | 0.5.0-150000.3.11.1 | SUSE-SU-2023:2490-1 |
| 15.5 | libwebp-devel +4 | 1.0.3-150200.3.5.1 | SUSE-SU-2023:2467-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libwebp +1 | 1.0.0-8.el8_7 |
| 9 | libwebp +1 | 1.2.0-6.el9_1 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libwebp | 1.3.0-r3 |
| 3.22 | firefox-esr | 102.10.0-r0 |
| 3.23 | libwebp | 1.3.0-r3 |
| 3.23 | firefox-esr | 102.10.0-r0 |
| 3.24 | libwebp | 1.3.0-r3 |
| edge | libwebp | 1.3.0-r3 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | libwebp +7 | 1.2.4-1.amzn2023.0.4 |
debian 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | libwebp | 0.6.1-2+deb10u2 |
| 10 | firefox-esr | 102.10.0esr-1~deb10u1 |
| 10 | thunderbird | 1:102.10.0-1~deb10u1 |
| 11 | libwebp | 0.6.1-2.1+deb11u1 |
| 11 | firefox-esr | 102.10.0esr-1~deb11u1 |
| 11 | thunderbird | 1:102.10.0-1~deb11u1 |
9 more rows
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| libwebp | 1.2.4-0.2 | |
| firefox-esr | 102.10.0esr-1 | |
| thunderbird | 1:102.10.0-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libsharpyuv0 +12 | 1.3.0-2.1 | openSUSE-SU-2024:13019-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libwebp +1 | 1.0.0-8.el8_7 |
| 9 | libwebp +1 | 1.2.0-6.el9_1.0.1 |
ubuntu 7 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libwebp | 0.6.1-2ubuntu0.18.04.2 |
| 18.04-ESM | libwebp | 0.6.1-2ubuntu0.18.04.2 |
| 20.04 | libwebp | 0.6.1-2ubuntu0.20.04.2 |
| 20.04-ESM | libwebp | 0.6.1-2ubuntu0.20.04.2 |
| 22.04 | libwebp | 1.2.2-2ubuntu0.22.04.1 |
| 24.04 | libwebp | 1.2.4-0.1ubuntu1 |
1 more row
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:2078
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-1999
- bugzilla.redhat.com https://bugzilla.redhat.com/2186102
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2186102
- chromium.googlesource.com https://chromium.googlesource.com/webm/libwebp
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1999
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-2078.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:2076
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-1999.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-2078.html
Show all 18 references
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-1999
- security.gentoo.org https://security.gentoo.org/glsa/202309-05
- ubuntu.com https://ubuntu.com/security/notices/USN-6078-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6078-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-1999
- www.mozilla.org https://www.mozilla.org/en-US/security/advisories/mfsa2023-13/#CVE-2023-1999
- www.mozilla.org https://www.mozilla.org/en-US/security/advisories/mfsa2023-14/#CVE-2023-1999
- www.mozilla.org https://www.mozilla.org/en-US/security/advisories/mfsa2023-15/#CVE-2023-1999
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.