GHSA-h5jv-4p7w-64jg

Suggest an improvement
Source
https://github.com/advisories/GHSA-h5jv-4p7w-64jg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-h5jv-4p7w-64jg/GHSA-h5jv-4p7w-64jg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h5jv-4p7w-64jg
Aliases
Published
2019-08-06T01:43:33Z
Modified
2024-02-18T05:39:59.485569Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Django Denial-of-service in strip_tags()
Details

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.

References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.11.0
Fixed
1.11.23

Affected versions

1.*

1.11
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
1.11.6
1.11.7
1.11.8
1.11.9
1.11.10
1.11.11
1.11.12
1.11.13
1.11.14
1.11.15
1.11.16
1.11.17
1.11.18
1.11.20
1.11.21
1.11.22

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.1.11

Affected versions

2.*

2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.7
2.1.8
2.1.9
2.1.10

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.2.0
Fixed
2.2.4

Affected versions

2.*

2.2
2.2.1
2.2.2
2.2.3