CVE-2021-22901

Related Vulnerabilities: CVE-2021-22901  

A use-after-free flaw was found in the way curl handled TLS session data. The curl versions using the OpenSSL library as their TLS backend could use freed memory after TLS session renegotiation was performed by the OpenSSL library. A malicious TLS server could use this flaw to crash or, possibly, execute arbitrary code with the privileges of a client application using the curl library.

Description

A use-after-free flaw was found in the way curl handled TLS session data. The curl versions using the OpenSSL library as their TLS backend could use freed memory after TLS session renegotiation was performed by the OpenSSL library. A malicious TLS server could use this flaw to crash or, possibly, execute arbitrary code with the privileges of a client application using the curl library.

Additional Information

  • Bugzilla 1963146: CVE-2021-22901 curl: Use-after-free in TLS session handling when using OpenSSL TLS backend
  • CWE-416: Use After Free
  • FAQ: Frequently asked questions about CVE-2021-22901