CVE-2021-22922

Source
https://cve.org/CVERecord?id=CVE-2021-22922
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22922.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-22922
Aliases
Downstream
ALPINE (1)
AZL (1)
BELL (1)
CLEANSTART (7)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
OESA (1)
openSUSE (4)
RHSA (2)
RLSA (1)
SUSE (5)
Related
Published
2021-08-05T21:15:11Z
Modified
2026-10-24T10:31:04Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "1.0.1.1"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "siemens:sinec_infrastructure_network_services"
        },
        {
            "cpes": [
                "cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "8.2.0"
                        },
                        {
                            "fixed": "8.2.12"
                        },
                        {
                            "introduced": "9.0.0"
                        },
                        {
                            "fixed": "9.0.6"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "splunk:universal_forwarder"
        },
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "33"
                        },
                        {
                            "last_affected": "33"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "fedoraproject:fedora"
        },
        {
            "cpes": [
                "cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "9.1.0"
                        },
                        {
                            "last_affected": "9.1.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "splunk:universal_forwarder"
        }
    ]
}
References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.27.0"
                },
                {
                    "fixed": "7.78.0"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

Other
curl-7_27_0
curl-7_28_0
curl-7_28_1
curl-7_29_0
curl-7_30_0
curl-7_31_0
curl-7_32_0
curl-7_33_0
curl-7_34_0
curl-7_35_0
curl-7_36_0
curl-7_37_0
curl-7_37_1
curl-7_38_0
curl-7_39_0
curl-7_40_0
curl-7_41_0
curl-7_42_0
curl-7_43_0
curl-7_44_0
curl-7_45_0
curl-7_46_0
curl-7_47_0
curl-7_47_1
curl-7_48_0
curl-7_49_0
curl-7_49_1
curl-7_50_0
curl-7_50_1
curl-7_50_2
curl-7_50_3
curl-7_51_0
curl-7_52_0
curl-7_52_1
curl-7_53_0
curl-7_53_1
curl-7_54_0
curl-7_54_1
curl-7_55_0
curl-7_55_1
curl-7_56_0
curl-7_56_1
curl-7_57_0
curl-7_58_0
curl-7_59_0
curl-7_60_0
curl-7_61_0
curl-7_61_1
curl-7_62_0
curl-7_63_0
curl-7_64_0
curl-7_64_1
curl-7_65_0
curl-7_65_1
curl-7_65_2
curl-7_65_3
curl-7_66_0
curl-7_67_0
curl-7_68_0
curl-7_69_0
curl-7_69_1
curl-7_70_0
curl-7_71_0
curl-7_71_1
curl-7_72_0
curl-7_73_0
curl-7_74_0
curl-7_75_0
curl-7_76_0
curl-7_76_1
curl-7_77_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22922.json"

Git / github.com/mysql/mysql-server

Affected ranges

Type
GIT
Repo
https://github.com/mysql/mysql-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Introduced
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "5.7.0"
                },
                {
                    "last_affected": "5.7.35"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "8.0.0"
                },
                {
                    "last_affected": "8.0.26"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

mysql-3.*
mysql-3.23.22-beta
mysql-3.23.28-gamma
mysql-3.23.30-gamma
mysql-3.23.31
mysql-3.23.32
mysql-3.23.33
mysql-3.23.36
mysql-4.*
mysql-4.0.2
mysql-4.0.4
mysql-5.*
mysql-5.1.4
mysql-5.7.31
mysql-5.7.32
mysql-5.7.35
mysql-8.*
mysql-8.0.26
mysql-cluster-8.*
mysql-cluster-8.0.26

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22922.json"