OESA-2022-1506

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1506
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1506.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1506
Upstream
Published
2022-01-28T11:03:29Z
Modified
2025-08-12T05:07:23.774852Z
Summary
curl security update
Details

Curl is used in command lines or scripts to transfer data.

Security Fix(es):

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, those same credentials are then subsequently passed on to each of the servers from which curl will download or try to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.(CVE-2021-22923)

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.(CVE-2021-22922)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / curl

Package

Name
curl
Purl
pkg:rpm/openEuler/curl&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.71.1-12.oe1

Ecosystem specific

{
    "aarch64": [
        "curl-7.71.1-12.oe1.aarch64.rpm",
        "curl-debuginfo-7.71.1-12.oe1.aarch64.rpm",
        "libcurl-devel-7.71.1-12.oe1.aarch64.rpm",
        "curl-debugsource-7.71.1-12.oe1.aarch64.rpm",
        "libcurl-7.71.1-12.oe1.aarch64.rpm"
    ],
    "noarch": [
        "curl-help-7.71.1-12.oe1.noarch.rpm"
    ],
    "src": [
        "curl-7.71.1-12.oe1.src.rpm"
    ],
    "x86_64": [
        "libcurl-7.71.1-12.oe1.x86_64.rpm",
        "curl-debuginfo-7.71.1-12.oe1.x86_64.rpm",
        "curl-debugsource-7.71.1-12.oe1.x86_64.rpm",
        "libcurl-devel-7.71.1-12.oe1.x86_64.rpm",
        "curl-7.71.1-12.oe1.x86_64.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / curl

Package

Name
curl
Purl
pkg:rpm/openEuler/curl&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.71.1-12.oe1

Ecosystem specific

{
    "aarch64": [
        "curl-debuginfo-7.71.1-12.oe1.aarch64.rpm",
        "curl-7.71.1-12.oe1.aarch64.rpm",
        "libcurl-7.71.1-12.oe1.aarch64.rpm",
        "libcurl-devel-7.71.1-12.oe1.aarch64.rpm",
        "curl-debugsource-7.71.1-12.oe1.aarch64.rpm"
    ],
    "noarch": [
        "curl-help-7.71.1-12.oe1.noarch.rpm"
    ],
    "src": [
        "curl-7.71.1-12.oe1.src.rpm"
    ],
    "x86_64": [
        "libcurl-7.71.1-12.oe1.x86_64.rpm",
        "curl-debuginfo-7.71.1-12.oe1.x86_64.rpm",
        "curl-debugsource-7.71.1-12.oe1.x86_64.rpm",
        "libcurl-devel-7.71.1-12.oe1.x86_64.rpm",
        "curl-7.71.1-12.oe1.x86_64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / curl

Package

Name
curl
Purl
pkg:rpm/openEuler/curl&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.71.1-12.oe1

Ecosystem specific

{
    "aarch64": [
        "libcurl-devel-7.71.1-12.oe1.aarch64.rpm",
        "curl-debuginfo-7.71.1-12.oe1.aarch64.rpm",
        "curl-7.71.1-12.oe1.aarch64.rpm",
        "curl-debugsource-7.71.1-12.oe1.aarch64.rpm",
        "libcurl-7.71.1-12.oe1.aarch64.rpm"
    ],
    "noarch": [
        "curl-help-7.71.1-12.oe1.noarch.rpm"
    ],
    "src": [
        "curl-7.71.1-12.oe1.src.rpm"
    ],
    "x86_64": [
        "curl-debuginfo-7.71.1-12.oe1.x86_64.rpm",
        "libcurl-devel-7.71.1-12.oe1.x86_64.rpm",
        "curl-debugsource-7.71.1-12.oe1.x86_64.rpm",
        "curl-7.71.1-12.oe1.x86_64.rpm",
        "libcurl-7.71.1-12.oe1.x86_64.rpm"
    ]
}