CVE-2024-53907 Affecting py3-django package, versions <4.2.20-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.03% (9th percentile)

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 IDSNYK-ALPINE321-PY3DJANGO-9788483
  • published21 Apr 2025
  • disclosed6 Dec 2024

Introduced: 6 Dec 2024

CVE-2024-53907  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 py3-django to version 4.2.20-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.21 relevant fixed versions and status.

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.

CVSS Base Scores

version 3.1