CVE-2022-27778
MySQL vulnerability analysis and mitigation

Overview

A use of incorrectly resolved name vulnerability (CVE-2022-27778) was discovered in curl version 7.83.0. The vulnerability occurs when using the --no-clobber option together with --remove-on-error option, which could result in removing the wrong file. This vulnerability was fixed in curl version 7.83.1 (Curl Advisory).

Technical details

The vulnerability stems from the interaction between two command-line options in curl: --remove-on-error, which removes the output file when curl returns an error to avoid leaving partial files, and --no-clobber, which prevents overwriting existing files by appending a number to create a new filename. When these options are used together, if curl adds a number to avoid clobbering and an error occurs during transfer, the remove-on-error logic incorrectly removes the original filename without the added number (Curl Advisory).

Impact

The vulnerability could lead to the deletion of incorrect files when specific command-line options are used together. The CVSS v3.1 base score is 8.1 HIGH, with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, indicating potential high impact on integrity and availability (NVD Database).

Mitigation and workarounds

The vulnerability was fixed in curl version 7.83.1. Users are recommended to either upgrade to version 7.83.1 or later, apply the patch to their local version, or avoid using --no-clobber with --remove-on-error (Curl Advisory).

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
  • mysql:8.4::rapidjson-doc
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mysql-errmsg
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mecab-devel
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-server
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