Ad

CVE-2013-0340

NONE EPSS 19.4%
Обновлено 14 октября 2026
Python
Параметр Значение
Уязвимые версии 3.6.0 — 8.0
Устранено в версии 2.4.0
Тип уязвимости CWE-611
Поставщик Python
Публичный эксплойт Нет

2.4.0 не будет должным образом обрабатывать расширение сущностей, если разработчик приложения не использует функцию XML_SetEntityDeclHandler, которая позволяет удаленным злоумышленникам вызывать отказ в обслуживании (потребление ресурсов), отправлять запросы HTTP на интранет-серверы или читать произвольные файлы через созданный документ XML, он же XML External Entity (XXE). NOTE: можно утверждать, что, поскольку экспат уже предоставляет возможность отключить расширение внешнего объекта, ответственность за решение этой проблемы лежит на разработчиках приложений; согласно этому аргументу, эта запись должна быть REJECTed, и каждое затронутое приложение будет нуждаться в своем собственном CVE.

Показать оригинальное описание (EN)

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Тип уязвимости (CWE)

Уязвимые продукты 10

Конфигурация От (включительно) До (исключительно)
Libexpat_Project Libexpat
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
— 2.4.0
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 3.6.15
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 3.7.12
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.8.0 3.8.12
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.9.0 3.9.7
Apple Ipados
cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*
— 14.8
Apple Iphone_Os
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
— 14.8
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
— 11.6
Apple Tvos
cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*
— 15.0
Apple Watchos
cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*
— 8.0

Ссылки 26

http://openwall.com/lists/oss-security/2013/02/22/3
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Oct/61
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Oct/62
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Oct/63
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/33
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/34
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/35
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/38
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/39
secalert@redhat.com
http://seclists.org/fulldisclosure/2021/Sep/40
secalert@redhat.com
http://securitytracker.com/id?1028213
secalert@redhat.com
http://www.openwall.com/lists/oss-security/2013/04/12/6
secalert@redhat.com
http://www.openwall.com/lists/oss-security/2021/10/07/4
secalert@redhat.com
http://www.osvdb.org/90634
secalert@redhat.com
http://www.securityfocus.com/bid/58233
secalert@redhat.com
https://github.com/libexpat/libexpat/blob/R_2_4_1/expat/Changes
secalert@redhat.com
https://lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e…
secalert@redhat.com
https://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f9…
secalert@redhat.com
https://security.gentoo.org/glsa/201701-21
secalert@redhat.com
https://support.apple.com/kb/HT212804
secalert@redhat.com
https://support.apple.com/kb/HT212805
secalert@redhat.com
https://support.apple.com/kb/HT212807
secalert@redhat.com
https://support.apple.com/kb/HT212814
secalert@redhat.com
https://support.apple.com/kb/HT212815
secalert@redhat.com
https://support.apple.com/kb/HT212819
secalert@redhat.com
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e