usn-5373-1
Vulnerability from osv_ubuntu
Published
2022-04-11 11:36
Modified
2026-02-10 04:42
Summary
python-django vulnerabilities
Details
It was discovered that Django incorrectly handled certain certain column aliases in the QuerySet.annotate(), aggregate(), and extra() methods. A remote attacker could possibly use this issue to perform an SQL injection attack. (CVE-2022-28346)
It was discovered that Django incorrectly handled certain option names in the QuerySet.explain() method. A remote attacker could possibly use this issue to perform an SQL injection attack. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 21.10. (CVE-2022-28347)
It was discovered that the Django URLValidator function incorrectly handled newlines and tabs. A remote attacker could possibly use this issue to perform a header injection attack. This issue only affected Ubuntu 18.04 LTS. (CVE-2021-32052)
References
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2021-32052",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2022-28346",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-django",
"binary_version": "1:1.11.11-1ubuntu1.17"
},
{
"binary_name": "python-django-common",
"binary_version": "1:1.11.11-1ubuntu1.17"
},
{
"binary_name": "python3-django",
"binary_version": "1:1.11.11-1ubuntu1.17"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-django",
"purl": "pkg:deb/ubuntu/python-django@1:1.11.11-1ubuntu1.17?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:1.11.11-1ubuntu1.17"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-28346",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2022-28347",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-django",
"binary_version": "2:2.2.12-1ubuntu0.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-django",
"purl": "pkg:deb/ubuntu/python-django@2:2.2.12-1ubuntu0.11?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.12-1ubuntu0.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:1.11.22-1ubuntu1",
"2:2.2.6-1ubuntu1",
"2:2.2.9-2ubuntu1",
"2:2.2.10-1",
"2:2.2.10-1ubuntu1",
"2:2.2.11-1",
"2:2.2.12-1",
"2:2.2.12-1ubuntu0.1",
"2:2.2.12-1ubuntu0.2",
"2:2.2.12-1ubuntu0.3",
"2:2.2.12-1ubuntu0.4",
"2:2.2.12-1ubuntu0.5",
"2:2.2.12-1ubuntu0.6",
"2:2.2.12-1ubuntu0.7",
"2:2.2.12-1ubuntu0.8",
"2:2.2.12-1ubuntu0.9",
"2:2.2.12-1ubuntu0.10"
]
}
],
"aliases": [],
"details": "It was discovered that Django incorrectly handled certain certain column\naliases in the QuerySet.annotate(), aggregate(), and extra() methods. A\nremote attacker could possibly use this issue to perform an SQL injection\nattack. (CVE-2022-28346)\n\nIt was discovered that Django incorrectly handled certain option names in\nthe QuerySet.explain() method. A remote attacker could possibly use this\nissue to perform an SQL injection attack. This issue only affected Ubuntu\n20.04 LTS, and Ubuntu 21.10. (CVE-2022-28347)\n\nIt was discovered that the Django URLValidator function incorrectly handled\nnewlines and tabs. A remote attacker could possibly use this issue to\nperform a header injection attack. This issue only affected Ubuntu 18.04\nLTS. (CVE-2021-32052)\n",
"id": "USN-5373-1",
"modified": "2026-02-10T04:42:34Z",
"published": "2022-04-11T11:36:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5373-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-32052"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-28346"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-28347"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python-django vulnerabilities",
"upstream": [
"UBUNTU-CVE-2021-32052",
"UBUNTU-CVE-2022-28346",
"UBUNTU-CVE-2022-28347"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…