{"id":"GHSA-3872-f48p-pxqj","summary":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in Weblate","details":"### Impact\nWeblate didn't correctly sanitize some arguments passed to Git and Mercurial, which allowed changing their behavior in an unintended way.\n\n### Patches\n\nThe issues were fixed in the 4.11.1 release. The following commits are addressing it:\n\n* 35d59f1f040541c358cece0a8d4a63183ca919b8\n* d83672a3e7415da1490334e2c9431e5da1966842\n\n### Workarounds\n\nInstances in which untrusted users cannot create new components are not affected.\n\n### References\n* [SNYK-PYTHON-WEBLATE-2414088](https://security.snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a topic in [discussions](https://github.com/WeblateOrg/weblate/discussions)\n* Email us at [care@weblate.org](mailto:care@weblate.org)\n","aliases":["BIT-weblate-2022-23915","CVE-2022-23915","CVE-2022-24727","GHSA-h2g5-2rhx-ffgj","PYSEC-2022-162","PYSEC-2022-31","SNYK-PYTHON-WEBLATE-2414088"],"modified":"2024-11-19T19:04:45.831782Z","published":"2022-03-04T21:15:31Z","database_specific":{"github_reviewed_at":"2022-03-04T21:15:31Z","nvd_published_at":"2022-03-04T20:15:00Z","cwe_ids":["CWE-77","CWE-88"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-3872-f48p-pxqj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23915"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/pull/7337"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/pull/7338"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/35d59f1f040541c358cece0a8d4a63183ca919b8"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/d83672a3e7415da1490334e2c9431e5da1966842"},{"type":"PACKAGE","url":"https://github.com/WeblateOrg/weblate"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-4.11.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-162.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-31.yaml"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088"}],"affected":[{"package":{"name":"weblate","ecosystem":"PyPI","purl":"pkg:pypi/weblate"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}],"versions":["1.9","2.0","2.1","2.10","2.10.1","2.11","2.12","2.13","2.13.1","2.14","2.14.1","2.15","2.16","2.17","2.17.1","2.18","2.19","2.19.1","2.2","2.20","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.0.1","3.1","3.1.1","3.10","3.10.1","3.10.2","3.10.3","3.11","3.11.1","3.11.2","3.11.3","3.2","3.2.1","3.2.2","3.3","3.4","3.5","3.5.1","3.6","3.6.1","3.7","3.7.1","3.8","3.9","3.9.1","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1","4.1.1","4.10","4.10.1","4.11","4.2","4.2.1","4.2.2","4.3","4.3.1","4.3.2","4.4","4.4.1","4.4.2","4.5","4.5.1","4.5.2","4.5.3","4.6","4.6.1","4.6.2","4.7","4.7.1","4.7.2","4.8","4.8.1","4.9","4.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-3872-f48p-pxqj/GHSA-3872-f48p-pxqj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N"}]}