MGASA-2015-0127

Source
https://advisories.mageia.org/MGASA-2015-0127.html
Import Source
https://advisories.mageia.org/MGASA-2015-0127.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2015-0127
Related
Published
2015-04-03T13:11:23Z
Modified
2015-04-03T12:59:09Z
Summary
Updated python-django packages fix security vulnerabilities
Details

Updated python-django and python-django14 packages fix security vulnerabilities:

The ModelAdmin.readonly_fields attribute in the Django admin allows displaying model fields and model attributes. While the former were correctly escaped, the latter were not. Thus untrusted content could be injected into the admin, presenting an exploitation vector for XSS attacks (CVE-2015-2241).

Django relies on user input in some cases to redirect the user to an "on success" URL. The security checks for these redirects accepted URLs with leading control characters and so considered URLs like \x08javascript:... safe. This issue doesn't affect Django currently, however, if a developer relies on issafeurl() to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack as some browsers such as Google Chrome ignore control characters at the start of a URL in an anchor href (CVE-2015-2317).

Note that the CVE-2015-2241 issue does not affect python-django14 directly, but client code using it may be affected. Please see the March 9th upstream advisory for more information on this.

References
Credits

Affected packages

Mageia:4 / python-django

Package

Name
python-django
Purl
pkg:rpm/mageia/python-django?distro=mageia-4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.9-1.2.mga4

Ecosystem specific

{
    "section": "core"
}

Mageia:4 / python-django14

Package

Name
python-django14
Purl
pkg:rpm/mageia/python-django14?distro=mageia-4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.20-1.mga4

Ecosystem specific

{
    "section": "core"
}