An update for curl is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2021-1321 Final 1.0 1.0 2021-08-20 Initial 2021-08-20 2021-08-20 openEuler SA Tool V1.0 2021-08-20 curl security update An update for curl is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. 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 supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.(CVE-2021-22925) libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CURLOPT_SSLCERT` option (`--cert` with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like `/tmp`), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.(CVE-2021-22926) An update for curl is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Medium curl https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1321 https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-22925 https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-22926 https://nvd.nist.gov/vuln/detail/CVE-2021-22925 https://nvd.nist.gov/vuln/detail/CVE-2021-22926 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 curl-debuginfo-7.71.1-10.oe1.aarch64.rpm libcurl-7.71.1-10.oe1.aarch64.rpm curl-7.71.1-10.oe1.aarch64.rpm curl-debugsource-7.71.1-10.oe1.aarch64.rpm libcurl-devel-7.71.1-10.oe1.aarch64.rpm curl-debugsource-7.71.1-10.oe1.aarch64.rpm libcurl-7.71.1-10.oe1.aarch64.rpm curl-debuginfo-7.71.1-10.oe1.aarch64.rpm libcurl-devel-7.71.1-10.oe1.aarch64.rpm curl-7.71.1-10.oe1.aarch64.rpm curl-help-7.71.1-10.oe1.noarch.rpm curl-help-7.71.1-10.oe1.noarch.rpm curl-7.71.1-10.oe1.src.rpm curl-7.71.1-10.oe1.src.rpm libcurl-devel-7.71.1-10.oe1.x86_64.rpm curl-7.71.1-10.oe1.x86_64.rpm curl-debuginfo-7.71.1-10.oe1.x86_64.rpm libcurl-7.71.1-10.oe1.x86_64.rpm curl-debugsource-7.71.1-10.oe1.x86_64.rpm curl-7.71.1-10.oe1.x86_64.rpm curl-debugsource-7.71.1-10.oe1.x86_64.rpm libcurl-devel-7.71.1-10.oe1.x86_64.rpm libcurl-7.71.1-10.oe1.x86_64.rpm curl-debuginfo-7.71.1-10.oe1.x86_64.rpm curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application. 2021-08-20 CVE-2021-22925 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Low 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N curl security update 2021-08-20 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1321 libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CURLOPT_SSLCERT` option (`--cert` with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like `/tmp`), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake. 2021-08-20 CVE-2021-22926 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Medium 6.5 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N curl security update 2021-08-20 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1321