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).

Exploitability

This vulnerability only affects the command-line tool and not the library. Since both command-line options were newly introduced in version 7.83.0, the exposure window was limited. The flaw requires user interaction as it only occurs when specific command-line options are used together (Curl Advisory).

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-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql:8.4::mysql-errmsg
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mariadb114
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • mysql-errmsg
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_cluster
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mecab
NoYesJul 21, 2026

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