USN-7136-2

Source
https://ubuntu.com/security/notices/USN-7136-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7136-2.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7136-2
Related
Published
2024-12-04T20:08:19.894125Z
Modified
2024-12-04T20:08:19.894125Z
Summary
python-django vulnerability
Details

USN-7136-1 fixed a vulnerability in Django. This update provides the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory details:

jiangniao discovered that Django incorrectly handled the API to strip tags. A remote attacker could possibly use this issue to cause Django to consume resources, leading to a denial of service. (CVE-2024-53907)

Seokchan Yoon discovered that Django incorrectly handled HasKey lookups when using Oracle. A remote attacker could possibly use this issue to inject arbitrary SQL code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-53908)

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-django

Package

Name
python-django
Purl
pkg:deb/ubuntu/python-django@1.8.7-1ubuntu5.15+esm8?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.7-1ubuntu5.15+esm8

Affected versions

1.*

1.7.9-1ubuntu5
1.8.5-2ubuntu1
1.8.7-1ubuntu1
1.8.7-1ubuntu2
1.8.7-1ubuntu3
1.8.7-1ubuntu4
1.8.7-1ubuntu5
1.8.7-1ubuntu5.1
1.8.7-1ubuntu5.2
1.8.7-1ubuntu5.4
1.8.7-1ubuntu5.5
1.8.7-1ubuntu5.6
1.8.7-1ubuntu5.7
1.8.7-1ubuntu5.8
1.8.7-1ubuntu5.9
1.8.7-1ubuntu5.10
1.8.7-1ubuntu5.11
1.8.7-1ubuntu5.12
1.8.7-1ubuntu5.13
1.8.7-1ubuntu5.14
1.8.7-1ubuntu5.15
1.8.7-1ubuntu5.15+esm1
1.8.7-1ubuntu5.15+esm3
1.8.7-1ubuntu5.15+esm4
1.8.7-1ubuntu5.15+esm5
1.8.7-1ubuntu5.15+esm6
1.8.7-1ubuntu5.15+esm7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.8.7-1ubuntu5.15+esm8",
            "binary_name": "python-django"
        },
        {
            "binary_version": "1.8.7-1ubuntu5.15+esm8",
            "binary_name": "python-django-common"
        },
        {
            "binary_version": "1.8.7-1ubuntu5.15+esm8",
            "binary_name": "python-django-doc"
        },
        {
            "binary_version": "1.8.7-1ubuntu5.15+esm8",
            "binary_name": "python3-django"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python-django

Package

Name
python-django
Purl
pkg:deb/ubuntu/python-django@1:1.11.11-1ubuntu1.21+esm8?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.11.11-1ubuntu1.21+esm8

Affected versions

1:1.*

1:1.11.4-1ubuntu1
1:1.11.6-1ubuntu1
1:1.11.9-1ubuntu1
1:1.11.11-1ubuntu1
1:1.11.11-1ubuntu1.1
1:1.11.11-1ubuntu1.2
1:1.11.11-1ubuntu1.3
1:1.11.11-1ubuntu1.4
1:1.11.11-1ubuntu1.5
1:1.11.11-1ubuntu1.6
1:1.11.11-1ubuntu1.7
1:1.11.11-1ubuntu1.8
1:1.11.11-1ubuntu1.9
1:1.11.11-1ubuntu1.10
1:1.11.11-1ubuntu1.11
1:1.11.11-1ubuntu1.12
1:1.11.11-1ubuntu1.13
1:1.11.11-1ubuntu1.14
1:1.11.11-1ubuntu1.15
1:1.11.11-1ubuntu1.16
1:1.11.11-1ubuntu1.17
1:1.11.11-1ubuntu1.18
1:1.11.11-1ubuntu1.19
1:1.11.11-1ubuntu1.20
1:1.11.11-1ubuntu1.21
1:1.11.11-1ubuntu1.21+esm1
1:1.11.11-1ubuntu1.21+esm2
1:1.11.11-1ubuntu1.21+esm3
1:1.11.11-1ubuntu1.21+esm4
1:1.11.11-1ubuntu1.21+esm5
1:1.11.11-1ubuntu1.21+esm6
1:1.11.11-1ubuntu1.21+esm7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1:1.11.11-1ubuntu1.21+esm8",
            "binary_name": "python-django"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.21+esm8",
            "binary_name": "python-django-common"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.21+esm8",
            "binary_name": "python-django-doc"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.21+esm8",
            "binary_name": "python3-django"
        }
    ]
}