UBUNTU-CVE-2020-7471

Source
https://ubuntu.com/security/CVE-2020-7471
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7471.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-7471
Related
Published
2020-02-03T10:00:00Z
Modified
2020-02-03T10:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.

References

Affected packages

Ubuntu:18.04:LTS / python-django

Package

Name
python-django
Purl
pkg:deb/ubuntu/python-django?arch=src?distro=bionic

Affected ranges

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

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:1.11.11-1ubuntu1.7",
            "binary_name": "python-django"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.7",
            "binary_name": "python-django-common"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.7",
            "binary_name": "python-django-doc"
        },
        {
            "binary_version": "1:1.11.11-1ubuntu1.7",
            "binary_name": "python3-django"
        }
    ]
}