CVE-2021-22922: When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML
Noroxi assessment
Priority: Monitor (action score 27/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: 4.3% (FIRST EPSS); higher than 91.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: curl (Alpine:v3.12) 7.78.0-r0; curl (Debian:12) 7.79.1-1; curl (openSUSE:Leap 15.2) 7.66.0-lp152.3.21.1.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to curl (Alpine:v3.12) 7.78.0-r0; curl (Debian:12) 7.79.1-1; curl (openSUSE:Leap 15.2) 7.66.0-lp152.3.21.1 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
When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML file.The metalink XML file points out to the client how to get the same contentfrom a set of different URLs, potentially hosted by different servers and theclient can then download the file from one or several of them. In a serial orparallel manner.If one of the servers hosting the contents has been breached and the contentsof the specific file on that server is replaced with a modified payload, curlshould detect this when the hash of the file mismatches after a completeddownload. It should remove the contents and instead try getting the contentsfrom another URL. This is not done, and instead such a hash mismatch is onlymentioned in text and the potentially malicious content is kept in the file ondisk.
- Published
- Aug 5, 2021
- Updated
- Oct 14, 2026
- EPSS
- 4.3% · 91th percentile
- CWE
- CWE-840
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.3%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 6.5
- CNA · hackerone
- 6.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 |
| netapp | cloud backup | cpe:2.3:a:netapp:cloud_backup |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | hci management node | cpe:2.3:a:netapp:hci_management_node |
| netapp | solidfire | cpe:2.3:a:netapp:solidfire |
| oracle | mysql server | cpe:2.3:a:oracle:mysql_server |
| siemens | sinec infrastructure network services | cpe:2.3:a:siemens:sinec_infrastructure_network_services |
| netapp | h300s firmware | cpe:2.3:o:netapp:h300s_firmware |
| netapp | h300s | cpe:2.3:h:netapp:h300s |
| netapp | h500s firmware | cpe:2.3:o:netapp:h500s_firmware |
| netapp | h500s | cpe:2.3:h:netapp:h500s |
and 11 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora33
- haxx curl7.27.0 and later · before 7.78.0
- netapp cloud backupall versions
- netapp clustered data ontapall versions
- netapp h300e firmwareall versions
- netapp h300s firmwareall versions
- netapp h410s firmwareall versions
- netapp h500e firmwareall versions
- netapp h500s firmwareall versions
- netapp h700e firmwareall versions
- netapp h700s firmwareall versions
- netapp hci management nodeall versions
- netapp solidfireall versions
- oracle mysql server5.7.0 and later · up to 5.7.35 inclusive
- oracle mysql server8.0.0 and later · up to 8.0.26 inclusive
- siemens sinec infrastructure network servicesbefore 1.0.1.1
- 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
Versions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
n/a https://github.com/curl/curl
- curl 7.27.0 to and including 7.77.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.12 | curl | from 7.27.0 · before 7.78.0-r0 | 7.78.0-r0 |
| Debian:12 | curl | before 7.79.1-1 | 7.79.1-1 |
| openSUSE:Leap 15.2 | curl | before 7.66.0-lp152.3.21.1 | 7.66.0-lp152.3.21.1 |
| openSUSE:Leap 15.2 | curl-mini | before 7.66.0-lp152.3.21.1 | 7.66.0-lp152.3.21.1 |
| openSUSE:Leap 15.3 | curl | before 7.66.0-4.22.1 | 7.66.0-4.22.1 |
| Red Hat:enterprise_linux:8::baseos | curl | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | curl-debuginfo | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | curl-debugsource | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | curl-minimal-debuginfo | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | libcurl | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | libcurl-debuginfo | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | libcurl-devel | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal-debuginfo | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
| Red Hat:rhel_eus:8.2::baseos | curl | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | curl-debuginfo | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | curl-debugsource | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | curl-minimal-debuginfo | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | libcurl | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | libcurl-debuginfo | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | libcurl-devel | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | libcurl-minimal | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Red Hat:rhel_eus:8.2::baseos | libcurl-minimal-debuginfo | before 0:7.61.1-12.el8_2.3 | 0:7.61.1-12.el8_2.3 |
| Rocky Linux:8 | curl | before 0:7.61.1-18.el8_4.1 | 0:7.61.1-18.el8_4.1 |
+5
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-2021-22897Jun 11, 2021 · curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for CURLOPT_SSL_CIPHER_LIST w22Monitor
- ← EarlierCVE-2021-22898Jun 11, 2021 · curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in libcur13Monitor
- Later →CVE-2021-22923Aug 5, 2021 · When curl is instructed to get content using the metalink feature, and a user name and password are used to download the metalink XML file, 22Monitor
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.78.0-r0 · Alpine:v3.12 | Package registry (OSV) |
| debian:curl | 7.79.1-1 · Debian:12 | Package registry (OSV) |
| opensuse:curl | 7.66.0-lp152.3.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:curl-mini | 7.66.0-lp152.3.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:curl | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:curl-debuginfo | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:curl-debugsource | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:curl-minimal-debuginfo | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libcurl | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libcurl-debuginfo | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libcurl-devel | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libcurl-minimal | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libcurl-minimal-debuginfo | 0:7.61.1-18.el8_4.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| rocky linux:curl | 0:7.61.1-18.el8_4.1 · Rocky Linux:8 | Package registry (OSV) |
| suse:curl | 7.60.0-4.25.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:curl-openssl1 | 7.37.0-70.71.1 · SUSE:Linux Enterprise Server 11-SECURITY | 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.
No history yet (it accumulates with the daily EPSS job).
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).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0222 · Mar 15, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
- TR-21-0767 · Sep 22, 2021(RedHat Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-840 · Business Logic ErrorsCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
- security.gentoo.org/glsa/202212-01
- security.netapp.com/advisory/ntap-20210902-0003/
- www.oracle.com/security-alerts/cpuoct2021.html
- cert-portal.siemens.com/productcert/html/ssa-389290.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.