CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Djangoproject

CVE-2021-3281
Djangoproject Django vulnerability

In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

Affected products

Django, Fedora, Snapcenter. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Djangoproject products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.