OESA-2021-1216

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1216
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1216.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1216
Upstream
Published
2021-06-12T11:02:57Z
Modified
2025-08-12T05:07:21.734436Z
Summary
curl security update
Details

cURL is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various protocols.

Security Fix(es):

curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for CURLOPTSSLCIPHER_LIST when libcurl is built to use the Schannel TLS library. The selected cipher set was stored in a single "static" variable in the library, which has the surprising side-effect that if an application sets up multiple concurrent transfers, the last one that sets the ciphers will accidentally control the set used by all transfers. In a worst-case scenario, this weakens transport security significantly.(CVE-2021-22897)

curl 7.7 through 7.76.1 suffers from an information disclosure when the -t command line option, known as CURLOPT_TELNETOPTIONS in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEW_ENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server, resulting in potentially revealing sensitive internal information to the server using a clear-text network protocol.(CVE-2021-22898)

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-7.oe1

Ecosystem specific

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