CVE-2022-25834 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary commands via crafted filenames in Percona XtraBackup, requiring local access to the file system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25834?

CVE-2022-25834 is a high-severity command injection vulnerability in n/a, published on 7 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Percona XtraBackup (PXB) through 2.2.24 and 3.x through 8.0.27-19, a crafted filename on the local file system could trigger unexpected command shell execution of arbitrary commands.

Weakness: CWE-77

Which versions are affected by CVE-2022-25834?

2 open source packages ship an affected version, including percona-xtrabackup and percona-xtrabackup-binary. It affects 1 product.

PackageAffectedFixed in
percona-xtrabackup BitnamiAll versions2.2.24, 8.0.27-19
percona-xtrabackup-binary BitnamiAll versions2.2.24, 8.0.27-19

Products include Percona Xtrabackup.

How do I fix CVE-2022-25834?

Upgrade percona-xtrabackup to a fixed version for your release line: 2.2.24 or 8.0.27-19.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-25834 being exploited?

There is no known exploitation of CVE-2022-25834 in the wild and no public exploit code.

Sources

Also known as BIT-percona-xtrabackup-2022-25834, BIT-percona-xtrabackup-binary-2022-25834, GHSA-hhfm-2xhw-4542, UBUNTU-CVE-2022-25834, USN-6745-1.

Is CVE-2022-25834 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free