CVE-2024-27351 Affecting py3-django package, versions <4.2.11-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-PY3DJANGO-7013702
- published 23 May 2024
- disclosed 15 Mar 2024
Introduced: 15 Mar 2024
CVE-2024-27351 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
py3-django
to version 4.2.11-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream py3-django
package and not the py3-django
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
References
- https://docs.djangoproject.com/en/5.0/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://www.djangoproject.com/weblog/2024/mar/04/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
- http://www.openwall.com/lists/oss-security/2024/03/04/1