CVE-2021-22922

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

https://hackerone.com/reports/1213175

https://lists.fedoraproject.org/archives/list/[email protected]/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/

https://lists.apache.org/thread.html/[email protected]%3Cdev.kafka.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cusers.kafka.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.kafka.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cusers.kafka.apache.org%3E

https://security.netapp.com/advisory/ntap-20210902-0003/

https://www.oracle.com/security-alerts/cpuoct2021.html

Details

Source: MITRE

Published: 2021-08-05

Updated: 2021-12-10

Type: CWE-354

Risk Information

CVSS v2

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM

Tenable Plugins

View all (21 total)

IDNameProductFamilySeverity
155491EulerOS Virtualization 2.9.0 : curl (EulerOS-SA-2021-2769)NessusHuawei Local Security Checks
medium
155489EulerOS Virtualization 2.9.1 : curl (EulerOS-SA-2021-2751)NessusHuawei Local Security Checks
medium
155263EulerOS 2.0 SP9 : curl (EulerOS-SA-2021-2707)NessusHuawei Local Security Checks
medium
155117EulerOS 2.0 SP9 : curl (EulerOS-SA-2021-2682)NessusHuawei Local Security Checks
medium
154794EulerOS 2.0 SP8 : curl (EulerOS-SA-2021-2627)NessusHuawei Local Security Checks
medium
154252RHEL 8 : curl (RHSA-2021:3903)NessusRed Hat Local Security Checks
medium
153539CentOS 8 : curl (CESA-2021:3582)NessusCentOS Local Security Checks
low
153534Oracle Linux 8 : curl (ELSA-2021-3582)NessusOracle Linux Local Security Checks
low
153525RHEL 8 : curl (RHSA-2021:3582)NessusRed Hat Local Security Checks
low
153416Amazon Linux 2 : curl (ALAS-2021-1700)NessusAmazon Linux Local Security Checks
medium
152083Photon OS 3.0: Curl PHSA-2021-3.0-0273NessusPhotonOS Local Security Checks
medium
152082Photon OS 4.0: Curl PHSA-2021-4.0-0069NessusPhotonOS Local Security Checks
medium
152065openSUSE 15 Security Update : curl (openSUSE-SU-2021:1088-1)NessusSuSE Local Security Checks
critical
152060SUSE SLED12 / SLES12 Security Update : curl (SUSE-SU-2021:2462-1)NessusSuSE Local Security Checks
critical
151994SUSE SLES12 Security Update : curl (SUSE-SU-2021:2425-1)NessusSuSE Local Security Checks
critical
151993SUSE SLES11 Security Update : curl (SUSE-SU-2021:14768-1)NessusSuSE Local Security Checks
critical
151992SUSE SLES15 Security Update : curl (SUSE-SU-2021:2440-1)NessusSuSE Local Security Checks
critical
151990SUSE SLED15 / SLES15 Security Update : curl (SUSE-SU-2021:2439-1)NessusSuSE Local Security Checks
critical
151971FreeBSD : cURL -- Multiple vulnerabilities (aa646c01-ea0d-11eb-9b84-d4c9ef517024)NessusFreeBSD Local Security Checks
medium
151970Slackware 14.0 / 14.1 / 14.2 / current : curl (SSA:2021-202-02)NessusSlackware Local Security Checks
critical
151940openSUSE 15 Security Update : curl (openSUSE-SU-2021:2439-1)NessusSuSE Local Security Checks
critical