curl: A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's p...
CVE-2023-28319 is fixed in 10 products on 1 platform, first by DEBIAN-CVE-2023-28319, released May 26, 2023. It is not reported as exploited. Patch Radar priority: High.
A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| curl · Debian 12.15 (bookworm) | 7.88.1-10 | DEBIAN-CVE-2023-28319 | May 26, 2023 |
| curl · Debian 13.5 (trixie) | 7.88.1-10 | DEBIAN-CVE-2023-28319 | May 26, 2023 |
| curl · Debian 14 | 7.88.1-10 | DEBIAN-CVE-2023-28319 | May 26, 2023 |
| curl · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| curl-debuginfo · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| curl-debugsource · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| curl-minimal · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| curl-minimal-debuginfo · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| libcurl · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| libcurl-debuginfo · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| libcurl-devel · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| libcurl-minimal · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
| libcurl-minimal-debuginfo · amzn 2023 | 8.0.1-1.amzn2023.0.1 | ALAS2023-2023-270 | Jul 19, 2023 |
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.