You are here: Home / LBN / Up2date / Cloud Computing / BastionLinux 19 / python-defusedxml-0.4.1-1.lbn19.noarch

python-defusedxml-0.4.1-1.lbn19.noarch

Package Attributes
RPM  python-defusedxml-0.4.1-1.lbn19.noarch.rpm Architecture  noarch Size  113064 Created  2019/09/30 06:53:00 UTC
Package Specification
Summary XML bomb protection for Python stdlib modules
Group Application/Internet
License ZPL
Home Page https://pypi.python.org/packages/source/d/defusedxml/defusedxml-0.4.1.tar.gz
Description

The results of an attack on a vulnerable XML library can be fairly dramatic. With just a few hundred Bytes of XML data an attacker can occupy several Gigabytes of memory within seconds. An attacker can also keep CPUs busy for a long time with a small to medium size request. Under some circumstances it is even possible to access local files on your server, to circumvent a firewall, or to abuse services to rebound attacks to third parties.

The attacks use and abuse less common features of XML and its parsers. The majority of developers are unacquainted with features such as processing instructions and entity expansions that XML inherited from SGML. At best they know about from experience with HTML but they are not aware that a document type definition (DTD) can generate an HTTP request or load a file from the file system.

None of the issues is new. They have been known for a long time. Billion laughs was first reported in 2003. Nevertheless some XML libraries and applications are still vulnerable and even heavy users of XML are surprised by these features. It’s hard to say whom to blame for the situation. It’s too short sighted to shift all blame on XML parsers and XML libraries for using insecure default settings. After all they properly implement XML specifications. Application developers must not rely that a library is always configured for security and potential harmful data by default.

Requires
python  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-defusedxml

Document Actions