Haxx Curl: Double Free (CVE-2022-42915)
Published Last modified Sources: BSI, Siemens ProductCERT, CVE.org, OSV
What is affected, what to do
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.
Update Haxx Curl to version 7.86.0, Apple macOS to version 12.6.3, Apple macOS to version 13.2.
- Affected
- Haxx Curl
lt 7.77.0..7.86.0 - Fedora
eq 35..35 - Fedora
eq 36..36 - Fedora
eq 37..37 - Apple macOS
lt 12.0.0..12.6.3 - Apple macOS
lt 13.0..13.2 - Splunk Universal Forwarder
lt 8.2.0..8.2.12 - Splunk Universal Forwarder
lt 9.0.0..9.0.6 - Splunk Universal Forwarder
eq 9.1.0..9.1.0
- Haxx Curl
- Fixed in
- Haxx Curl
7.86.0 - Apple macOS
12.6.3 - Apple macOS
13.2 - Splunk Universal Forwarder
8.2.12 - Splunk Universal Forwarder
9.0.6
- Haxx Curl
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
8.1
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
8.1
CVSS v3
Severity High on the scale from 0 to 10.
Source: BSI, Siemens ProductCERT, CVE.org, OSV
3.7 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 89.5
Show all metrics
- Severity
- High
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 106.27 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 8.1 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 8.1
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 3.7 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 89.5
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: BSI CSAF, BSI WID Portal, siemens_advisory, cvelistv5, NVD (NIST), OSV (Open Source Vulnerabilities)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| haxx | curl |
|
|
| netapp | ontap_9 |
|
|
| splunk | universal_forwarder |
|
|
Vendors and products
Affected operating systems
| macOS | apple | macos | — |
| Other | fedoraproject | fedora | 35 |
| Other | fedoraproject | fedora | 36 |
| Other | fedoraproject | fedora | 37 |
| Other | netapp | h300s_firmware | — |
| Other | netapp | h410s_firmware | — |
| Other | netapp | h500s_firmware | — |
| Other | netapp | h700s_firmware | — |
References & sources
- curl.sedocs/CVE-2022-42915.html
- lists.fedoraproject.orgFEDORA-2022-01ffde372cVendor advisory
- lists.fedoraproject.orgFEDORA-2022-39688a779dVendor advisory
- lists.fedoraproject.orgFEDORA-2022-e9d65906c4Vendor advisory
- security.netapp.comadvisory/ntap-20221209-0010
- security.gentoo.orgGLSA-202212-01Vendor advisory
- support.apple.comkb/HT213604
- support.apple.comkb/HT213605
- seclists.org20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3Mailing list
- seclists.org20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2Mailing list
- Siemens ProductCERTproductcert/html/ssa-892048.html
- Siemens ProductCERTproductcert/html/ssa-398330.html
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedMITRE
Show 30 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://seclists.org/fulldisclosure/2023/Jan/19Reference added —http://seclists.org/fulldisclosure/2023/Jan/20Reference added —https://curl.se/docs/CVE-2022-42915.htmlReference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/Reference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/Reference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/Reference added —https://security.gentoo.org/glsa/202212-01Reference added —https://security.netapp.com/advisory/ntap-20221209-0010/Reference added —https://support.apple.com/kb/HT213604Reference added —https://support.apple.com/kb/HT213605Reference removed http://seclists.org/fulldisclosure/2023/Jan/19—Reference removed http://seclists.org/fulldisclosure/2023/Jan/20—Reference removed https://curl.se/docs/CVE-2022-42915.html—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/—Reference removed https://security.gentoo.org/glsa/202212-01—Reference removed https://security.netapp.com/advisory/ntap-20221209-0010/—Reference removed https://support.apple.com/kb/HT213604—Reference removed https://support.apple.com/kb/HT213605—Reference type removed http://seclists.org/fulldisclosure/2023/Jan/19 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2023/Jan/20 Types: Mailing List, Third Party Advisory—Reference type removed https://curl.se/docs/CVE-2022-42915.html Types: Vendor Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/ Types: Mailing List, Third Party Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/ Types: Mailing List, Third Party Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/ Types: Mailing List, Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/202212-01 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20221209-0010/ Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT213604 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT213605 Types: Third Party Advisory—Source identifier: cve@mitre.org
Record modifiedCVE Program
Show 30 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://seclists.org/fulldisclosure/2023/Jan/19Reference added —http://seclists.org/fulldisclosure/2023/Jan/20Reference added —https://curl.se/docs/CVE-2022-42915.htmlReference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/Reference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/Reference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/Reference added —https://security.gentoo.org/glsa/202212-01Reference added —https://security.netapp.com/advisory/ntap-20221209-0010/Reference added —https://support.apple.com/kb/HT213604Reference added —https://support.apple.com/kb/HT213605Reference removed http://seclists.org/fulldisclosure/2023/Jan/19—Reference removed http://seclists.org/fulldisclosure/2023/Jan/20—Reference removed https://curl.se/docs/CVE-2022-42915.html—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/—Reference removed https://security.gentoo.org/glsa/202212-01—Reference removed https://security.netapp.com/advisory/ntap-20221209-0010/—Reference removed https://support.apple.com/kb/HT213604—Reference removed https://support.apple.com/kb/HT213605—Reference type removed http://seclists.org/fulldisclosure/2023/Jan/19 Types: Mailing List, Third Party Advisory—Reference type removed http://seclists.org/fulldisclosure/2023/Jan/20 Types: Mailing List, Third Party Advisory—Reference type removed https://curl.se/docs/CVE-2022-42915.html Types: Vendor Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/ Types: Mailing List, Third Party Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/ Types: Mailing List, Third Party Advisory—Reference type removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/ Types: Mailing List, Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/202212-01 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20221209-0010/ Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT213604 Types: Third Party Advisory—Reference type removed https://support.apple.com/kb/HT213605 Types: Third Party Advisory—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Record modifiedSiemens ADP
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2022/42xxx/CVE-2022-42915.json">CVE-2022-42915</a>Reference added —https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-892048.htmlSource identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2022-42915"><img src="https://intel.neosec.eu/badge/cve/CVE-2022-42915.svg?lang=en" alt="CVE-2022-42915 – NEOSEC Intel" height="20"></a>