Vulnerability · Published Apr 1, 2025 · Assigned by GitHub_M

CVE-2025-30224MyDumper arbitrary file read issue

Medium 5.1

In plain English

A medium-severity information exposure in mydumper from mydumper. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.8%top 44.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

MyDumper is a MySQL Logical Backup Tool. The MySQL C client library (libmysqlclient) allows authenticated remote actors to read arbitrary files from client systems via a crafted server response to LOAD LOCAL INFILE query, leading to sensitive information disclosure when clients connect to untrusted MySQL servers without explicitly disabling the local infile capability. Mydumper has the local infile option enabled by default and does not have an option to disable it. This can lead to an unexpected arbitrary file read if the Mydumper tool connects to an untrusted server. This vulnerability is fixed in 0.18.2-8.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mydumper0.10.1-1+deb12u2DEBIAN-CVE-2025-30224
Ubuntu:22.04:LTSmydumperno fix listedUBUNTU-CVE-2025-30224
Ubuntu:24.04:LTSmydumperno fix listedUBUNTU-CVE-2025-30224
Ubuntu:25.10mydumperno fix listedUBUNTU-CVE-2025-30224
Ubuntu:26.04:LTSmydumperno fix listedUBUNTU-CVE-2025-30224
Ubuntu:26.10mydumperno fix listedUBUNTU-CVE-2025-30224

Affected products (as reported)

VendorProductVersions
mydumper mydumper < 0.18.2-8

Weakness: CWE-200 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References