Google Chromium libvpx Heap Buffer Overflow
CVE-2023-5217 is a high-severity out-of-bounds write vulnerability in Chrome from Google, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version 117.0.5938.132 as the first without the flaw, so updating Chrome to that release or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on October 2, 2023, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Chrome to 117.0.5938.132 or a later version.
- Update libvpx to 1.13.1 or a later version.
- Update Firefox to 115.3.1 or 118.0.1 or 118.1, whichever matches your release line, or a later version.
- CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Read the advisory on chromereleases.googleblog.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Chrome | 117.0.5938.132 up to, but not including, 117.0.5938.132 | 117.0.5938.132 | |
| libvpx | 1.13.1 up to, but not including, 1.13.1 | 1.13.1 | |
| Microsoft | Edge | 116.0.1938.98; 117.0.2045.47 | Not stated |
| Microsoft | Edge Chromium | 116.0.5845.229; 117.0.5938.132 | Not stated |
| Mozilla | Firefox | before 115.3.1; before 118.0.1; before 118.1 | 115.3.1, 118.0.1, 118.1 |
| Mozilla | Thunderbird | before 115.3.1 | 115.3.1 |
| Fedora Project | Fedora | 37; 38; 39 | Not stated |
| Debian | Debian Linux | 10.0; 11.0; 12.0 | Not stated |
| Apple | iPadOS | 17.0 up to, but not including, 17.0.3; 16.7 | 17.0.3 |
| Apple | Iphone OS | 17.0 up to, but not including, 17.0.3; 16.7 | 17.0.3 |
| Red Hat | Enterprise Linux | 9.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | NVD |
| CVSS 3.1 | 8.8 | High | CISA (ADP) |
Official description
Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
- Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- openwall.com/lists/oss-security/2023/09/28/5Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/28/6Mailing List, Third Party Advisory
- github.com/webmproject/libvpx/commit/3fbd1dca6a4d2dad332a2110d646e4ffef36d590
- github.com/webmproject/libvpx/commit/af6dedd715f4307669366944cca6e0417b290282
- github.com/webmproject/libvpx/releases/tag/v1.13.1Release Notes
Third-party and government advisories
- seclists.org/fulldisclosure/2023/Oct/12Mailing List, Third Party Advisory
- seclists.org/fulldisclosure/2023/Oct/16Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/1Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/11Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/12Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/14Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/2Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/7Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/29/9Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/30/1Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/30/2Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/30/3Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/30/4Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/09/30/5Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2023/10/01/1Mailing List, Third Party Advisory
Technical write-ups (may include proof of concept)
- crbug.com/1486441Exploit, Issue Tracking
Other references
- github.com/webmproject/libvpx/tagsProduct
- lists.debian.org/debian-lts-announce/2023/09/msg00038.htmlMailing List
- lists.debian.org/debian-lts-announce/2023/10/msg00001.htmlMailing List
- lists.debian.org/debian-lts-announce/2023/10/msg00015.htmlMailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/4MFWDFJSSIFKWKNOCTQCFU…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/55YVCZNAVY3Y5E4DWPWMX2…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/AY642Z6JZODQJE7Z62CFRE…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/BCVSHVX2RFBU3RMCUFSATV…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/CWEJYS5NC7KVFYU3OAMPKQ…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/TE7F54W5O5RS4ZMAAC7YK3…Mailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/WTRUIS3564P7ZLM2S2IH4Y…Mailing List
- pastebin.com/TdkC4pDvNot Applicable
- debian.org/security/2023/dsa-5508Mailing List
- debian.org/security/2023/dsa-5509Mailing List
- debian.org/security/2023/dsa-5510Mailing List
Other vulnerabilities in Chrome
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 7.5 High severity
Recent Out-of-bounds Write vulnerabilities
- 7.8 High severity
- 6.6 Medium severity
- 9.8 Critical severity
- 9.8 Critical severity
- 7.8 High severity
- 9.8 Critical severity
Spotted an error? Tell us.