cve/2021/CVE-2021-3281.md

19 lines
758 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-3281](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3281)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/HxDDD/CVE-PoC
- https://github.com/lwzSoviet/CVE-2021-3281