GHSA-qc99-g3wm-hgxr

Suggest an improvement
Source
https://github.com/advisories/GHSA-qc99-g3wm-hgxr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qc99-g3wm-hgxr/GHSA-qc99-g3wm-hgxr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qc99-g3wm-hgxr
Aliases
Published
2022-05-01T17:44:04Z
Modified
2026-07-06T08:11:25Z
Summary
Django Arbitrary Code Execution
Details

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.

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-05-14T17:18:37Z",
    "nvd_published_at":  "2007-01-23T00:28:00Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.95
Fixed
1.0

Affected versions

0.*
0.95

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qc99-g3wm-hgxr/GHSA-qc99-g3wm-hgxr.json"