---
title: "Django 4.1.7 release notes"
version: 6.0
locale: pt-br
source: https://docs.djangoproject.com/pt-br/6.0/releases/4.1.7/
canonical: https://djangodocs.dev/pt-br/6.0/releases/4.1.7/
---
# Django 4.1.7 release notes

*February 14, 2023*

Django 4.1.7 fixes a security issue with severity “moderate” and a bug in
4.1.6.

## CVE-2023-24580: Potential denial-of-service vulnerability in file uploads

Passing certain inputs to multipart forms could result in too many open files
or memory exhaustion, and provided a potential vector for a denial-of-service
attack.

The number of files parts parsed is now limited via the new
[`DATA_UPLOAD_MAX_NUMBER_FILES`](/pt-br/6.0/ref/settings/#std-setting-DATA_UPLOAD_MAX_NUMBER_FILES) setting.

## Bugfixes

- Fixed a bug in Django 4.1 that caused a crash of model validation on
  `ValidationError` with no `code` ([#34319](https://code.djangoproject.com/ticket/34319)).
