Skip to content
OpenAdvisories
High CVE-2007-0404 EUVD-2022-4945GHSA-qc99-g3wm-hgxrPYSEC-2026-630

Django Arbitrary Code Execution

Published Jan 23, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 0.95.1-1 —
Debian 13 python-django 0.95.1-1 —
Debian 12 python-django 0.95.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 0.95, < 1.0 1.0 GHSA-qc99-g3wm-hgxr

References