Skip to content
pkgseek
Back to CVE search

CVE-2022-32221

critical · 9.8

When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.

First indexed 10/26/2022View on NVD

Advisory Facts

Markdown

CVE-2022-32221 is rated CRITICAL (9.8), with 42 indexed affected package builds across 3 distributions.

Severity / Score
CRITICAL (9.8)
Affected builds
42
Affected distros
3
Distros with fixed_in
Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2022-32221?locale=en

Distribution-aware status

3
Distributions
42
Package/release records
7
Vendor advisories
42
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

42 affected package/release combinations
libcurl
9i686, x86_64
7.76.1-19.el9_1.2Fixed in 7.76.1-23.el9_2.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl
libcurl-devel
9i686, x86_64
7.76.1-19.el9_1.2Fixed in 7.76.1-23.el9_2.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl-devel
libcurl-minimal
9i686, x86_64
7.76.1-19.el9_1.2Fixed in 7.76.1-23.el9_2.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl-minimal
curl
9.8x86_64
7.76.1-19.el9Fixed in 7.76.1-19.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade curl
curl-minimal
9.8x86_64
7.76.1-19.el9Fixed in 7.76.1-19.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade curl-minimal
libcurl
9.8i686, x86_64
7.76.1-19.el9Fixed in 7.76.1-19.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl
libcurl-devel
9.8i686, x86_64
7.76.1-19.el9Fixed in 7.76.1-19.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl-devel
libcurl-minimal
9.8i686, x86_64
7.76.1-19.el9Fixed in 7.76.1-19.el9_1.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade libcurl-minimal
libmysqlclient21
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade libmysqlclient21
libmysqlclient-dev
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade libmysqlclient-dev
mysql-client
focalall
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client
mysql-client-8.0
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client-8.0
mysql-client-core-8.0
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client-core-8.0
mysql-server
focalall
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server
mysql-server-8.0
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server-8.0
mysql-server-core-8.0
focalamd64
8.0.19-0ubuntu5Fixed in 8.0.32-0buntu0.20.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server-core-8.0
libmysqlclient21
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade libmysqlclient21
libmysqlclient-dev
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade libmysqlclient-dev
mysql-client
jammyall
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client
mysql-client-8.0
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client-8.0
mysql-client-core-8.0
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-client-core-8.0
mysql-server
jammyall
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server
mysql-server-8.0
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server-8.0
mysql-server-core-8.0
jammyamd64
8.0.28-0ubuntu4Fixed in 8.0.32-0buntu0.22.04.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade mysql-server-core-8.0

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.