CVE-2022-23915 Remote Code Execution (RCE)

High 7.2 Published Updated

Authenticated users can achieve remote code execution via argument injection in git or mercurial repository operations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-23915?

CVE-2022-23915 is a high-severity command injection vulnerability in Weblate, published on 4 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The package weblate from 0 and before 4.11.1 are vulnerable to Remote Code Execution (RCE) via argument injection when using git or mercurial repositories. Authenticated users, can change the behavior of the application in an unintended way, leading to command execution.

Weakness: CWE-88

Which versions are affected by CVE-2022-23915?

4 open source packages ship an affected version, including Weblate and weblate. It affects 1 product.

PackageAffectedFixed in
Weblate PyPIAll versions4.11.1
Weblate PyPIAll versions4.11.1
weblate PyPIAll versions4.11.1
weblate PyPIAll versions4.11.1

Products include Weblate Weblate.

How do I fix CVE-2022-23915?

Upgrade Weblate to 4.11.1 or later.

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

Is CVE-2022-23915 being exploited?

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

Sources

Also known as CVE-2022-24727, GHSA-3872-f48p-pxqj, GHSA-h2g5-2rhx-ffgj, SNYK-PYTHON-WEBLATE-2414088.

Is CVE-2022-23915 in your software?

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

Check your SBOMs for free