CVE-2021-22922
published medium CVSS 3.1 · 6.5curl: Content not matching hash in Metalink is not being discarded
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/curl/curlcurl 7.27.0 to and including 7.77.0 | Affected | Not stated | hackerone |
| 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-2021-1700 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | curl | Fixed | 7.78.0-r0 | Package fix record |
| Oracle Linux | 8 | curlaarch64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Red Hat Enterprise Linux | RHEL-8 | curlaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
Show 99 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 |
| Alpine Linux | v3.12 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.13 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.14 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.15 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 7.78.0-r0 | Package fix record |
| Oracle Linux | 8 | curlx86_64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurlaarch64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurlx86_64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurl-develaarch64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurl-develx86_64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurl-minimalaarch64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Oracle Linux | 8 | libcurl-minimalx86_64 | Advisory build | 0:7.61.1-18.el8_4.1 | ELSA-2021-3582 |
| Red Hat Enterprise Linux | RHEL-8 | curlaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curlppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curlppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curls390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curls390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curlsrc | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curlsrc | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curlx86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curlx86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoi686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoi686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfos390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfos390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfox86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfox86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcei686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcei686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsources390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsources390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcex86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcex86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoi686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoi686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfos390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfos390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfox86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfox86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurli686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurli686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurls390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurls390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlx86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlx86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoi686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoi686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfos390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfos390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfox86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfox86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develi686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develi686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-devels390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-devels390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develx86_64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develx86_64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalaarch64 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalaarch64 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimali686 | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimali686 | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalppc64le | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalppc64le | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimals390x | Advisory build | 7.61.1-12.el8_2.3 | RHSA-2021:3903 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimals390x | Advisory build | 7.61.1-18.el8_4.1 | RHSA-2021:3582 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
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
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/curl/curl | curl 7.27.0 to and including 7.77.0 (affected) | hackerone · 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
1- CWE-840 Business Logic Errors (CWE-840)
References
12- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://hackerone.com/reports/1213175
- [kafka-dev] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- [kafka-users] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- [kafka-dev] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- [kafka-users] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- FEDORA-2021-5d21b90a30 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
- GLSA-202212-01 https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20210902-0003/
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
4hackerone · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2dfe30f7393787f502a94c4dbb361ccd0ff706faca61076e55dd7f099b6b8d02
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record