Skip to content

Commit c59b7a7

Browse files
1 parent cc8dfcd commit c59b7a7

File tree

2 files changed

+123
-48
lines changed

2 files changed

+123
-48
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-6w2r-r2m5-xq5w",
4+
"modified": "2025-09-09T21:54:57Z",
5+
"published": "2025-09-08T18:31:31Z",
6+
"aliases": [
7+
"CVE-2025-57833"
8+
],
9+
"summary": "Django is subject to SQL injection through its column aliases",
10+
"details": "An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "Django"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "4.2.24"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "PyPI",
40+
"name": "Django"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "5.0a1"
48+
},
49+
{
50+
"fixed": "5.1.12"
51+
}
52+
]
53+
}
54+
]
55+
},
56+
{
57+
"package": {
58+
"ecosystem": "PyPI",
59+
"name": "Django"
60+
},
61+
"ranges": [
62+
{
63+
"type": "ECOSYSTEM",
64+
"events": [
65+
{
66+
"introduced": "5.2a1"
67+
},
68+
{
69+
"fixed": "5.2.6"
70+
}
71+
]
72+
}
73+
]
74+
}
75+
],
76+
"references": [
77+
{
78+
"type": "ADVISORY",
79+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-57833"
80+
},
81+
{
82+
"type": "WEB",
83+
"url": "https://github.com/django/django/commit/102965ea93072fe3c39a30be437c683ec1106ef5"
84+
},
85+
{
86+
"type": "WEB",
87+
"url": "https://github.com/django/django/commit/31334e6965ad136a5e369993b01721499c5d1a92"
88+
},
89+
{
90+
"type": "WEB",
91+
"url": "https://github.com/django/django/commit/4c044fcc866ec226f612c475950b690b0139d243"
92+
},
93+
{
94+
"type": "WEB",
95+
"url": "https://docs.djangoproject.com/en/dev/releases/security"
96+
},
97+
{
98+
"type": "PACKAGE",
99+
"url": "https://github.com/django/django"
100+
},
101+
{
102+
"type": "WEB",
103+
"url": "https://groups.google.com/g/django-announce"
104+
},
105+
{
106+
"type": "WEB",
107+
"url": "https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898"
108+
},
109+
{
110+
"type": "WEB",
111+
"url": "https://www.djangoproject.com/weblog/2025/sep/03/security-releases"
112+
}
113+
],
114+
"database_specific": {
115+
"cwe_ids": [
116+
"CWE-89"
117+
],
118+
"severity": "HIGH",
119+
"github_reviewed": true,
120+
"github_reviewed_at": "2025-09-09T21:54:56Z",
121+
"nvd_published_at": "2025-09-03T21:15:32Z"
122+
}
123+
}

advisories/unreviewed/2025/09/GHSA-6w2r-r2m5-xq5w/GHSA-6w2r-r2m5-xq5w.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)