Skip to content
Heist/ feed
Unrated

CVE-2021-22922

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2021-22922

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2021-22922

https://github.com/curl/curl

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "n/a",
    "product": "https://github.com/curl/curl",
    "versions": [
      {
        "status": "affected",
        "version": "curl 7.27.0  to and including 7.77.0"
      }
    ]
  }
]
Related CVEs
CVE-2021-22922

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#21660 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement