CVE-2022-42916: In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.5% (FIRST EPSS); higher than 84.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: curl (Alpine:v3.15) 7.80.0-r4; curl (Alpine:v3.16) 7.83.1-r4; curl (Alpine:v3.17) 7.86.0-r0.
Low priority for now. Upgrade to curl (Alpine:v3.15) 7.80.0-r4; curl (Alpine:v3.16) 7.83.1-r4; curl (Alpine:v3.17) 7.86.0-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.
- Published
- Oct 29, 2022
- Updated
- Oct 14, 2026
- EPSS
- 2.5% · 84th percentile
- CWE
- CWE-319
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · mitre
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| haxx | curl | cpe:2.3:a:haxx:curl |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| apple | macos | cpe:2.3:o:apple:macos |
| splunk | universal forwarder | cpe:2.3:a:splunk:universal_forwarder |
Check your site's encryption
This vulnerability is about certificate validation or weak cryptography. The free SSL checker tests your certificate, enabled TLS versions and weak ciphers.
Run the SSL checkAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple macos13.0 and later · before 13.2
- apple macosbefore 12.6.3
- fedoraproject fedora35
- fedoraproject fedora36
- fedoraproject fedora37
- haxx curl7.77.0 and later · before 7.86.0
- splunk universal forwarder8.2.0 and later · before 8.2.12
- splunk universal forwarder9.0.0 and later · before 9.0.6
- splunk universal forwarder9.1.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.15 | curl | from 7.77.0 · before 7.80.0-r4 | 7.80.0-r4 |
| Alpine:v3.16 | curl | from 7.77.0 · before 7.83.1-r4 | 7.83.1-r4 |
| Alpine:v3.17 | curl | from 7.77.0 · before 7.86.0-r0 | 7.86.0-r0 |
| Debian:12 | curl | before 7.86.0-1 | 7.86.0-1 |
| openSUSE:Leap 15.4 | curl | before 7.79.1-150400.5.9.1 | 7.79.1-150400.5.9.1 |
| openSUSE:Tumbleweed | curl | before 7.86.0-1.1 | 7.86.0-1.1 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl-debuginfo | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-debuginfo | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-devel | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-manual | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-selinux | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-tools | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-libcurl | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-libcurl-devel | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_http2 | before 0:1.15.19-20.el7jbcs | 0:1.15.19-20.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_http2-debuginfo | before 0:1.15.19-20.el7jbcs | 0:1.15.19-20.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ldap | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_proxy_html | before 1:2.4.51-37.el7jbcs | 1:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_session | before 0:2.4.51-37.el7jbcs | 0:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ssl | before 1:2.4.51-37.el7jbcs | 1:2.4.51-37.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl | before 1:1.1.1k-13.el7jbcs | 1:1.1.1k-13.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-debuginfo | before 1:1.1.1k-13.el7jbcs | 1:1.1.1k-13.el7jbcs |
+34
Same product
haxx: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-22901curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session t51Plan
- CVE-2023-38039When curl retrieves an HTTP response, it stores the incoming headers so that
they can be accessed later via the libcurl headers API.47Plan
- CVE-2024-2398HTTP/2 push headers memory-leak45Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-32208Jul 7, 2022 · When curl < 7.84.0 does FTP transfers secured by krb5, it handles message verification failures wrongly.26Monitor
- ← EarlierCVE-2022-35252Sep 23, 2022 · When curl is used to retrieve and parse cookies from a HTTP(S) server, itaccepts cookies using control codes that when later are sent back t15Monitor
- Later →CVE-2022-42915Oct 29, 2022 · curl before 7.86.0 has a double free.33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:curl | 7.80.0-r4 · Alpine:v3.15 | Package registry (OSV) |
| debian:curl | 7.86.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:curl | 7.79.1-150400.5.9.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd | 0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-debuginfo | 0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-devel | 0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-manual | 0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-selinux | 0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-debuginfo | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-devel | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-libs | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-libs-debuginfo | 1:1.1.1k-13.el8jbcs · Red Hat:jboss_core_services:1::el8 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-perl | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-static | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| suse:curl | 7.79.1-150400.5.9.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-319 · Cleartext Transmission of Sensitive InformationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- seclists.org/fulldisclosure/2023/Jan/19
- seclists.org/fulldisclosure/2023/Jan/20
- www.openwall.com/lists/oss-security/2022/12/21/1
- curl.se/docs/CVE-2022-42916.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/
- security.gentoo.org/glsa/202212-01
- security.netapp.com/advisory/ntap-20221209-0010/
- support.apple.com/kb/HT213605
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-892048.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.