GitHub Advisoryadvisory · PyPI
GHSA-qc99-g3wm-hgxr Django Arbitrary Code Execution
HIGH
Official page ↗
- Aliases
- CVE-2007-0404
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- Reviewed
- 2024-05-14
Affected packages
• PyPI Django: >= 0.95, < 1.0 → fixed in 1.0
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.
Related
Alias · CVE (1)
- CVE-2007-0404 bin/compile-messages.py in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function,… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2007-0404 advisory
- https://github.com/django/django/commit/518d406e53 web
- https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e web
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519 web
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31627 web
- https://github.com/django/django package
- http://code.djangoproject.com/changeset/3592 web