CVE-2021-22946
MySQL vulnerability analysis and mitigation

Overview

A vulnerability was discovered in curl versions 7.20.0 through 7.78.0 that allows bypassing TLS requirements when communicating with IMAP, POP3 or FTP servers. When using the --ssl-reqd command line option or setting CURLOPT_USE_SSL to CURLUSESSL_CONTROL or CURLUSESSL_ALL in libcurl, a crafted server response could cause curl to continue operations without TLS encryption despite the security requirement, potentially exposing sensitive data in clear text over the network (curl.se).

Technical details

The vulnerability affects curl's handling of TLS upgrade requirements when communicating with IMAP, POP3 and FTP servers. When a user configures curl to require TLS encryption using either the command line option --ssl-reqd or the libcurl option CURLOPT_USE_SSL set to CURLUSESSL_CONTROL or CURLUSESSL_ALL, a malicious server could return a specially crafted but valid response that causes curl to proceed with the connection in plaintext, contrary to the security requirement. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The successful exploitation of this vulnerability could result in sensitive data being transmitted in clear text over the network, despite explicit configuration requiring TLS encryption. This could allow attackers to intercept and view confidential information that was intended to be encrypted (curl.se).

Mitigation and workarounds

The vulnerability was fixed in curl version 7.79.0. Users should upgrade to this version or later to address the issue. The fix was implemented in commit 364f174724ef11 (curl.se). Multiple vendors have released patches for their products incorporating this fix, including Oracle, Debian, Red Hat, and others (Oracle, Debian).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mecab-ipadic-EUCJP
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql:8.4::mysql-common
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-libs
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management