---
title: "Django 3.0.12 版本发行说明"
version: 4.1
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/4.1/releases/3.0.12/
canonical: https://djangodocs.dev/zh-hans/4.1/releases/3.0.12/
---
# Django 3.0.12 版本发行说明

*2021 年 2 月 1 日*

Django 3.0.12 fixes a security issue with severity "low" in 3.0.11.

## CVE-2021-3281：通过 `archive.extract()` 进行潜在的目录遍历。

由 [`startapp --template`](/zh-hans/4.1/ref/django-admin/#cmdoption-startapp-template) 和 [`startproject --template`](/zh-hans/4.1/ref/django-admin/#cmdoption-startproject-template) 使用的 `django.utils.archive.extract()` 函数，允许通过带有绝对路径或带有点段的相对路径的存档进行目录遍历。
