[ASA-202107-61] libcurl-compat: multiple issues
diabonas at archlinux.org
Thu Jul 22 15:52:26 UTC 2021
Arch Linux Security Advisory ASA-202107-61
Date : 2021-07-21
CVE-ID : CVE-2021-22924 CVE-2021-22925
Package : libcurl-compat
Type : multiple issues
Remote : Yes
Link : https://security.archlinux.org/AVG-2196
The package libcurl-compat before version 7.78.0-1 is vulnerable to
multiple issues including information disclosure and insufficient
Upgrade to 7.78.0-1.
# pacman -Syu "libcurl-compat>=7.78.0-1"
The problems have been fixed upstream in version 7.78.0.
CVE-2021-22925 can be mitigated by avoiding to use
CURLOPT_TELNETOPTIONS. No known workaround exists for CVE-2021-22924.
- CVE-2021-22924 (insufficient validation)
A security issue has been found in curl before version 7.78.0. libcurl
keeps previously used connections in a connection pool for subsequent
transfers to reuse, if one of them matches the setup. Due to errors in
the logic, the config matching function did not take 'issuer cert' into
account and it compared the involved paths case insensitively, which
could lead to libcurl reusing wrong connections. File paths are, or can
be, case sensitive on many systems but not all, and can even vary
depending on used file systems. The comparison also didn't include the
'issuer cert' which a transfer can set to qualify how to verify the
- CVE-2021-22925 (information disclosure)
A security issue has been found in curl before version 7.78.0. curl
supports the -t command line option, known as CURLOPT_TELNETOPTIONS in
libcurl. This rarely used option is used to send variable=content pairs
to TELNET servers. Due to flaw in the option parser for sending NEW_ENV
variables, libcurl before version 7.78.0 could be made to pass on
uninitialized data from a stack based buffer to the server. Therefore
potentially revealing sensitive internal information to the server
using a clear-text network protocol. This could happen because curl did
not call and use sscanf() correctly when parsing the string provided by
The previous curl security vulnerability CVE-2021-22898 is almost
identical to this one but the fix was insufficient so this security
libcurl could disclose potentially sensitive memory contents to a
remote server when an uncommon option for TELNET servers is used.
Additionally, libcurl did not sufficiently verify the 'issuer cert'
when reusing connections.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the arch-security