CVE-2022-42915
published high CVSS 3.1 · 8.1curl: HTTP proxy double-free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1882 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-083 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | curl | Fixed | 7.86.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlaarch64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
Show 42 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Ubuntu | jammy | curl | Advisory build | 7.81.0-1ubuntu1.6 | USN-5702-1 |
| Amazon Linux | AL2 | curlaarch64 | Listed in advisory | Not stated | ALAS2-2022-1882 |
| Alpine Linux | v3.15 | curl | Fixed | 7.80.0-r4 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 7.83.1-r4 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 7.86.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlppc64le | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curls390x | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlx86_64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develaarch64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develppc64le | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devels390x | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develx86_64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitaarch64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitppc64le | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bits390x | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitx86_64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4aarch64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4ppc64le | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4s390x | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4x86_64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitaarch64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitppc64le | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bits390x | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitx86_64 | Advisory build | 7.86.0-1.1 | OPENSUSE-SU-2024:12447-1 |
| Ubuntu | jammy | libcurl3-gnutls | Advisory build | 7.81.0-1ubuntu1.6 | USN-5702-1 |
| Ubuntu | jammy | libcurl3-nss | Advisory build | 7.81.0-1ubuntu1.6 | USN-5702-1 |
| Ubuntu | jammy | libcurl4 | Advisory build | 7.81.0-1ubuntu1.6 | USN-5702-1 |
| Amazon Linux | AL2 | curli686 | Listed in advisory | Not stated | ALAS2-2022-1882 |
| Amazon Linux | AL2 | curlsrc | Listed in advisory | Not stated | ALAS2-2022-1882 |
| Amazon Linux | AL2 | curlx86_64 | Listed in advisory | Not stated | ALAS2-2022-1882 |
| Amazon Linux | AL2023 | curlaarch64 | Listed in advisory | Not stated | ALAS2023-2023-083 |
| Amazon Linux | AL2023 | curlsrc | Listed in advisory | Not stated | ALAS2023-2023-083 |
| Amazon Linux | AL2023 | curlx86_64 | Listed in advisory | Not stated | ALAS2023-2023-083 |
Description
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 transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet. The earliest affected version is 7.77.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-415 CWE-415 Double Free
References
12- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 http://seclists.org/fulldisclosure/2023/Jan/19
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 http://seclists.org/fulldisclosure/2023/Jan/20
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://curl.se/docs/CVE-2022-42915.html
- FEDORA-2022-e9d65906c4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/
- FEDORA-2022-01ffde372c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/
- FEDORA-2022-39688a779d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/
- GLSA-202212-01 https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20221209-0010/
- https://support.apple.com/kb/HT213604
- https://support.apple.com/kb/HT213605
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3d54157372e2e49bf1d5ffc3168ccac183b453c8fbcd59dee10fbc3c67532ad1
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record