Hackerone: CVE-2024-6197 Freeing stack buffer in utf8asn1str
CVE-2024-6197 is fixed in 24 products on 2 platforms, first by DEBIAN-CVE-2024-6197, released July 24, 2024. It is not reported as exploited. Patch Radar priority: High.
libcurl's ASN1 parser has this utf8asn1str() function used for parsing anASN.1 UTF-8 string. Itcan detect an invalid field and return error.Unfortunately, when doing so it also invokes `free()` on a 4 bytelocalstack buffer. Most modern malloc implementations detect this errorand immediately abort. Some however accept the input pointer and add thatmemory to its list of available chunks. This leads to the overwriting ofnearby stack memory. The content of the overwrite is decided by the`free()` implementation; likely to be memory pointers and a set of flags.The most likely outcome of exploting this flaw is a crash, although itcannot be ruled out that more serious results can be had in specialcircumstances.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Microsoft | |||
| Windows 10 Version 1809 for 32-bit Systems | 17763.6414 | KB5044277 | Oct 8, 2024 |
| Windows 10 Version 1809 for x64-based Systems | 17763.6414 | KB5044277 | Oct 8, 2024 |
| Windows 10 Version 21H2 for 32-bit Systems | KB5044273 | Oct 8, 2024 | |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5044273 | Oct 8, 2024 | |
| Windows 10 Version 21H2 for x64-based Systems | KB5044273 | Oct 8, 2024 | |
| Windows 10 Version 22H2 for 32-bit Systems | KB5044273 | Oct 8, 2024 | |
| Windows 10 Version 22H2 for ARM64-based Systems | KB5044273 | Oct 8, 2024 | |
| Windows 10 Version 22H2 for x64-based Systems | KB5044273 | Oct 8, 2024 | |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5044285 | Oct 8, 2024 | |
| Windows 11 Version 22H2 for x64-based Systems | KB5044285 | Oct 8, 2024 | |
| Windows 11 Version 23H2 for ARM64-based Systems | KB5044285 | Oct 8, 2024 | |
| Windows 11 Version 23H2 for x64-based Systems | KB5044285 | Oct 8, 2024 | |
| Windows 11 Version 24H2 for ARM64-based Systems | 26100.2033 | KB5044284 | Oct 8, 2024 |
| Windows 11 Version 24H2 for x64-based Systems | 26100.2033 | KB5044284 | Oct 8, 2024 |
| Windows 11 version 21H2 for ARM64-based Systems | 22000.3260 | KB5044280 | Oct 8, 2024 |
| Windows 11 version 21H2 for x64-based Systems | 22000.3260 | KB5044280 | Oct 8, 2024 |
| Windows Server 2019 | 17763.6414 | KB5044277 | Oct 8, 2024 |
| Windows Server 2019 (Server Core installation) | 17763.6414 | KB5044277 | Oct 8, 2024 |
| Windows Server 2022 | 20348.2762 | KB5044281 | Oct 8, 2024 |
| Windows Server 2022 (Server Core installation) | 20348.2762 | KB5044281 | Oct 8, 2024 |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 25398.1189 | KB5044288 | Oct 8, 2024 |
| Linux | |||
| curl · Debian 13.5 (trixie) | 8.9.0-1 | DEBIAN-CVE-2024-6197 | Jul 24, 2024 |
| curl · Debian 14 | 8.9.0-1 | DEBIAN-CVE-2024-6197 | Jul 24, 2024 |
| curl · Ubuntu 24.10 (oracular) | 8.9.1-2ubuntu1 | curl 8.9.1-2ubuntu1 | Jul 31, 2024 |
| curl · opensuse-leap 15.6 | 8.6.0-150600.4.3.1 | SUSE-SU-2024:2784-1 | Aug 6, 2024 |
| curl · sles 15.6 | 8.6.0-150600.4.3.1 | SUSE-SU-2024:2784-1 | Aug 6, 2024 |
| libcurl3t64-gnutls · Ubuntu 24.10 (oracular) | 8.9.1-2ubuntu1 | libcurl3t64-gnutls 8.9.1-2ubuntu1 | Jul 31, 2024 |
| libcurl4t64 · Ubuntu 24.10 (oracular) | 8.9.1-2ubuntu1 | libcurl4t64 8.9.1-2ubuntu1 | Jul 31, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.