Vulnerability advisory
GHSA-qc99-g3wm-hgxr
Django Arbitrary Code Execution
Also known as CVE-2007-0404PYSEC-2026-630
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
0.95 to before 1.0 | 1.0Advisories → |
Also listed as affected (1) | |
Description
bin/compile-messages.py in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, which allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2007-0404 ↗
- Webgithub.com/django/django/commit/518d406e53 ↗
- Webgithub.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e ↗
- Webbugs.debian.org/cgi-bin/bugreport.cgi?bug=407519 ↗
- Webexchange.xforce.ibmcloud.com/vulnerabilities/31627 ↗
- Packagegithub.com/django/django ↗
- Webcode.djangoproject.com/changeset/3592 ↗