02.06.2021       Выпуск 389 (31.05.2021 - 06.06.2021)       Релизы

Django security releases issued: 3.2.4, 3.1.12, and 2.2.24

Читать>>




Экспериментальная функция:

Ниже вы видите текст статьи по ссылке. По нему можно быстро понять ссылка достойна прочтения или нет

Просим обратить внимание, что текст по ссылке и здесь может не совпадать.

CVE-2021-33203: Potential directory traversal viaadmindocs

Staff members could use theadmindocsTemplateDetailViewview to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by the developers to also expose the file contents, then not only the existence but also the file contents would have been exposed.

As a mitigation, path sanitation is now applied and only files within the template root directories can be loaded.

This issue has low severity, according to the Django security policy.

Thanks to Rasmus Lerchedahl Petersen and Rasmus Wriedt Larsen from the CodeQL Python team for the report.

CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses

URLValidator,validate_ipv4_address(), andvalidate_ipv46_address()didn't prohibit leading zeros in octal literals. If you used such values you could suffer from indeterminate SSRF, RFI, and LFI attacks.

validate_ipv4_address()andvalidate_ipv46_address()validators were not affected on Python 3.9.5+.

This issue has medium severity, according to the Django security policy.

Resolution

Patches to resolve the issue have been applied to Django's main branch and to the 3.2, 3.1, and 2.2 release branches. The patches may be obtained from the following changesets.

CVE-2021-33203:

CVE-2021-33571:

The following releases have been issued:

The PGP key ID used for these releases is Carlton Gibson: E17DF5C82B4F9D00.

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email tosecurity@djangoproject.com, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.






Разместим вашу рекламу

Пиши: mail@pythondigest.ru

Нашли опечатку?

Выделите фрагмент и отправьте нажатием Ctrl+Enter.

Система Orphus