ADVISORIES

openEuler Security Advisory

OESA-2024-2540

python-django security update

Details

A high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Security Fix(es):

A vulnerability was found in the Django Web Framework. The strip_tags() and stripbtags template filter may be vulnerable to a potential denial of service (DoS) in cases of a large sequence of nested incomplete HTML entities.(CVE-2024-53907)

A vulnerability was found in the Django Web Framework. The direct usage of django.db.models.fields.json.HasKey may be vulnerable to SQL injection if untrusted data is used to perform queries.(CVE-2024-53908)

Affected packages

EcosystemPackageAffected versions
openEuler:22.03-LTS-SP4python-django
All versions before 4.2.15-3.oe2203sp4 (fixed in 4.2.15-3.oe2203sp4)

References