CVE-2021-22925
MySQL vulnerability analysis and mitigation

Overview

CVE-2021-22925 affects curl versions 7.7 through 7.77.0. The vulnerability exists in the TELNET option parser for sending NEW_ENV variables, where libcurl could potentially reveal sensitive internal information to the server using a clear-text network protocol. This vulnerability was discovered and reported by Red Hat Product Security and is a result of an incomplete fix for CVE-2021-22898 (Curl Website).

Technical details

The vulnerability occurs due to a flaw in the option parser for sending NEW_ENV variables, where libcurl could be made to pass on uninitialized data from a stack-based buffer to the server. This happened because curl did not call and use sscanf() correctly when parsing the string provided by the application. The vulnerability affects the -t command line option, known as CURLOPT_TELNETOPTIONS in libcurl, which is used to send variable=content pairs to TELNET servers (Curl Website).

Impact

When successfully exploited, this vulnerability could lead to the disclosure of sensitive internal information to the server using a clear-text network protocol. The vulnerability has a CVSS Base Score of 5.3 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in curl version 7.78.0. Organizations should upgrade to this version or later to address the vulnerability. The fix involves using sscanf() properly and only using properly filled-in buffers (Curl Website).

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
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql8.4-test
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