CVE-2007-0404: Django Arbitrary Code Execution
(updated )
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
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519
- exchange.xforce.ibmcloud.com/vulnerabilities/31627
- github.com/advisories/GHSA-qc99-g3wm-hgxr
- github.com/django/django
- github.com/django/django/commit/518d406e53
- github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e
- nvd.nist.gov/vuln/detail/CVE-2007-0404
Code Behaviors & Features
Detect and mitigate CVE-2007-0404 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →