Bug 2016088 (CVE-2021-22926) - CVE-2021-22926 curl: CURLOPT_SSLCERT mixup with Secure Transport
Summary: CVE-2021-22926 curl: CURLOPT_SSLCERT mixup with Secure Transport
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-22926
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2018078 2018079 2018080 2018081
Blocks: 2017825
TreeView+ depends on / blocked
 
Reported: 2021-10-20 18:38 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-24 17:09 UTC (History)
45 users (show)

Fixed In Version: curl 7.78.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-24 17:09:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-20 18:38:26 UTC
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.

Reference:
https://curl.se/docs/CVE-2021-22926.html

Comment 1 Guilherme de Almeida Suckevicz 2021-10-20 18:49:44 UTC
Created community-mysql tracking bugs for this issue:

Affects: fedora-all [bug 2016141]


Created mysql:8.0/community-mysql tracking bugs for this issue:

Affects: fedora-all [bug 2016142]

Comment 6 Product Security DevOps Team 2021-11-24 17:09:13 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-22926


Note You need to log in before you can comment on or make changes to this bug.