CVE-2022-23915: Remote Code Execution (RCE)
Impact Weblate didn't correctly sanitize some arguments passed to Git and Mercurial, which allowed changing their behavior in an unintended way.
Patches
The issues were fixed in the 4.11.1 release. The following commits are addressing it:
35d59f1f040541c358cece0a8d4a63183ca919b8 d83672a3e7415da1490334e2c9431e5da1966842
Workarounds
Instances in which untrusted users cannot create new components are not affected.
References SNYK-PYTHON-WEBLATE-2414088
For more information If you have any questions or comments about this advisory: Open a topic in discussions Email us at care@weblate.org
Other sources
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.
— MITRE
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23915?
CVE-2022-23915 has been classified with a moderate severity due to improper sanitization of parameters.
How do I fix CVE-2022-23915?
To fix CVE-2022-23915, update Weblate to version 4.11.1 or later.
Which versions of Weblate are affected by CVE-2022-23915?
Weblate versions prior to 4.11.1 are affected by CVE-2022-23915.
What type of vulnerability is CVE-2022-23915?
CVE-2022-23915 is a security vulnerability related to improper input sanitization.
Can CVE-2022-23915 lead to security risks?
Yes, CVE-2022-23915 could allow attackers to alter the behavior of Git and Mercurial in unintended ways.