Name | CVE-2021-22945 |
Description | When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5197-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
curl (PTS) | bullseye | 7.74.0-1.3+deb11u13 | fixed |
| bullseye (security) | 7.74.0-1.3+deb11u11 | fixed |
| bookworm | 7.88.1-10+deb12u7 | fixed |
| bookworm (security) | 7.88.1-10+deb12u5 | fixed |
| trixie | 8.9.1-2 | fixed |
| sid | 8.10.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
curl | source | stretch | (not affected) | | | |
curl | source | buster | (not affected) | | | |
curl | source | bullseye | 7.74.0-1.3+deb11u2 | | DSA-5197-1 | |
curl | source | (unstable) | 7.79.1-1 | | | |
Notes
[buster] - curl <not-affected> (Vulnerable code introduced later)
[stretch] - curl <not-affected> (Vulnerable code introduced later)
https://curl.se/docs/CVE-2021-22945.html
Fixed by: https://github.com/curl/curl/commit/43157490a5054bd24256fe12876931e8abc9df49 (curl-7_79_0)