개요
이 취약점이 무엇인지
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.utils.translation.check_for_language()` is subject to a potential denial-of-service attack when given many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. Such codes reach the function through the `django.views.i18n.set_language()` view, which is not routed by default. The consumed memory is bounded, since request data is limited by the `DATA_UPLOAD_MAX_MEMORY_SIZE` setting (default 2.5 MB) and the cache holds a fixed maximum number of entries. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Jaeyoung Jang for reporting this issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| djangodjangoproject | 최초 버전 | ≤ | 취약 | < | 5.2.17 | 5.2.17이상 |
| 6.0 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 4줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| Djangodjangoproject | 6.0 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 |
| 이 버전만 | 영향 없음 | = | 6.0.8 | — | ||
| 5.2 | ≤ | 취약 | < | 5.2.17 | 5.2.17이상 | |
| 이 버전만 | 영향 없음 | = | 5.2.17 | — | ||
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
벤더 공지2
패치5
- docs.djangoproject.com/en/dev/releases/security/
- github.com/django/django/commit/224dbc832586ad5cfb0237c2ff30d14baeaddc6f
- github.com/django/django/commit/27137e655e442e81095f1f8f77ff3870d9fdf169
- github.com/django/django/commit/5b3523d29be25948e1dd90b3863a002f00fc865f
- github.com/django/django/commit/c72a5dbb64d0777f3f471f1be94e8b2ca91e0959