Skip to content
pkgseek
Back to CVE search

CVE-2022-42915

high · 8.1

curl before 7.86.0 has a double free. If curl is told to use an HTTP proxy for a transfer with a non-HTTP(S) URL, it sets up the connection to the remote server by issuing a CONNECT request to the proxy, and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request (HTTP proxies often only allow outgoing connections to specific port numbers, like 443 for HTTPS) and instead return a non-200 status code to the client. Due to flaws in the error/cleanup handling, this could trigger a double free in curl if one of the following schemes were used in the URL for the trans…

First indexed 10/26/2022View on NVD

Advisory Facts

Markdown

CVE-2022-42915 is rated HIGH (8.1), with 16 indexed affected package builds across 1 distributions.

Severity / Score
HIGH (8.1)
Affected builds
16
Affected distros
1
Distros with fixed_in
Ubuntu
+ Embed this vulnerability status card

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

Distribution-aware status

1
Distributions
16
Package/release records
2
Vendor advisories
16
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.

16 affected package/release combinations
curl
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 curl
libcurl3-gnutls
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl3-gnutls
libcurl3-nss
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl3-nss
libcurl4
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl4
libcurl4-doc
focalall
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl4-doc
libcurl4-gnutls-dev
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl4-gnutls-dev
libcurl4-nss-dev
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl4-nss-dev
libcurl4-openssl-dev
focalamd64
7.68.0-1ubuntu2Fixed in 7.68.0-1ubuntu2.14
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 libcurl4-openssl-dev

CNNVD cross-reference

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