BSD Ports

devel/py-defusedxml 0.7.1_2 MidnightBSD

XML bomb protection for Python stdlib modules

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
python
Categories
devel, python, textproc

Description

Defusing XML bombs and other exploits

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. This library prevents such issues.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-defusedxml0.7.1_2
FreeBSDdevel/py-defusedxml0.7.1_1
DragonFlydevel/py-defusedxml0.7.1_1
HardenedBSDdevel/py-defusedxml0.7.1_1
GhostBSDdevel/py-defusedxml0.7.1_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}defusedxml

From mports:

cd /usr/mports/devel/py-defusedxml && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml

Dependencies

Configuration

Options name: devel_defusedxml

OptionDefaultDescription
DOCSoff
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
defusedxml-0.7.1.tar.gz755201bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69
Master sites 1
  • PYPI