ubuntu-cve-2024-42005
Vulnerability from osv_ubuntu
Published
2024-08-06 13:00
Modified
2025-09-08 17:02
Summary
Details
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Severity
7.3 (High)
9.8 (Critical)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-django",
"binary_version": "2:3.2.12-2ubuntu1.13"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-django",
"purl": "pkg:deb/ubuntu/python-django@2:3.2.12-2ubuntu1.13?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.12-2ubuntu1.13"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:2.2.24-1ubuntu1",
"2:3.2.12-2",
"2:3.2.12-2ubuntu1",
"2:3.2.12-2ubuntu1.1",
"2:3.2.12-2ubuntu1.2",
"2:3.2.12-2ubuntu1.3",
"2:3.2.12-2ubuntu1.4",
"2:3.2.12-2ubuntu1.5",
"2:3.2.12-2ubuntu1.6",
"2:3.2.12-2ubuntu1.7",
"2:3.2.12-2ubuntu1.8",
"2:3.2.12-2ubuntu1.9",
"2:3.2.12-2ubuntu1.10",
"2:3.2.12-2ubuntu1.11",
"2:3.2.12-2ubuntu1.12"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-django",
"binary_version": "3:4.2.11-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-django",
"purl": "pkg:deb/ubuntu/python-django@3:4.2.11-1ubuntu1.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3:4.2.11-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3:4.2.4-1ubuntu2",
"3:4.2.8-1",
"3:4.2.9-1",
"3:4.2.11-1",
"3:4.2.11-1ubuntu1",
"3:4.2.11-1ubuntu1.1"
]
}
],
"aliases": [],
"details": "An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.",
"id": "UBUNTU-CVE-2024-42005",
"modified": "2025-09-08T17:02:11Z",
"published": "2024-08-06T13:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-42005"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-42005"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6946-1"
}
],
"related": [
"USN-6946-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-42005"
]
}
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…