---
title: "Django 3.2.13 リリースノート"
version: 5.2
locale: ja
source: https://docs.djangoproject.com/ja/5.2/releases/3.2.13/
canonical: https://djangodocs.dev/ja/5.2/releases/3.2.13/
---
# Django 3.2.13 リリースノート

*2022年4月11日*

Django 3.2.13 では 3.2.12 における深刻度 "high" のセキュリティの問題2件と 3.2.4 におけるリグレッションを修正しました。

## CVE-2022-28346: Potential SQL injection in `QuerySet.annotate()`, `aggregate()`, and `extra()`

[`QuerySet.annotate()`](/ja/5.2/ref/models/querysets/#django.db.models.query.QuerySet.annotate), [`aggregate()`](/ja/5.2/ref/models/querysets/#django.db.models.query.QuerySet.aggregate), and
[`extra()`](/ja/5.2/ref/models/querysets/#django.db.models.query.QuerySet.extra) methods were subject to SQL injection in column
aliases, using a suitably crafted dictionary, with dictionary expansion, as the
`**kwargs` passed to these methods.

## CVE-2022-28347: Potential SQL injection via `QuerySet.explain(**options)` on PostgreSQL

[`QuerySet.explain()`](/ja/5.2/ref/models/querysets/#django.db.models.query.QuerySet.explain) method was subject to SQL injection in option names,
using a suitably crafted dictionary, with dictionary expansion, as the
`**options` argument.

## バグ修正

- Fixed a regression in Django 3.2.4 that caused the auto-reloader to no longer
  detect changes when the `DIRS` option of the `TEMPLATES` setting
  contained an empty string ([#33628](https://code.djangoproject.com/ticket/33628)).
