PT-2022-16834 · Weblate · Weblate
Published
2022-03-04
·
Updated
2024-03-06
·
CVE-2022-24727
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Weblate versions prior to 4.11.1
Description
Weblate is a web-based localization tool with tight version control integration. Prior to version 4.11.1, Weblate didn't properly sanitize some arguments passed to Git and Mercurial, allowing them to change their behavior in an unintended way. Instances where untrusted users cannot create new components are not affected. The issue allows authenticated users to change the behavior of the application in an unintended way, leading to command execution via argument injection when using Git or Mercurial repositories.
Recommendations
For Weblate versions prior to 4.11.1, update to version 4.11.1 or later to resolve the issue. As a temporary workaround, consider restricting access to Git and Mercurial repositories for untrusted users. Additionally, instances where untrusted users cannot create new components can be considered not affected, thus no immediate action is required for these cases.
Fix
Argument Injection
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Weblate