XXE attack in Python - CVE-2018-14647
Published: November 8, 2018 / Updated: November 8, 2018
Vulnerability details
The vulnerability exists due to improper handling of XML External Entities (XXEs) when parsing an XML file. A remote attacker can trick the victim into open an XML file that submits malicious input, trigger pathological hash collisions in Expat's internal data structures, consume large amounts CPU and RAM, and cause a denial of service (DoS) condition.
Affected software
Amazon Linux AMI
Fedora
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Slackware Linux
Ubuntu
Opensuse
Red Hat Software Collections
python2.7 (Debian package)
python (Red Hat package)
python2-tkinter (Alpine package)
python3.5 (Debian package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
python3.7 (Ubuntu package)
python3.8 (Ubuntu package)
python3.11-minimal (Ubuntu package)
python3.8-minimal (Ubuntu package)
python3.11 (Ubuntu package)
python3.9 (Ubuntu package)
python3.9-minimal (Ubuntu package)
python3.6 (Ubuntu package)
python3.6-minimal (Ubuntu package)
python3.7-minimal (Ubuntu package)
python3.5 (Ubuntu package)
python3.5-minimal (Ubuntu package)
python26
python27-python-jinja2 (Red Hat package)
python2
python2-docs
python27-python (Red Hat package)
python33
python34
python35
python36
python3
python37
python3.10-minimal (Ubuntu package)
python3.10 (Ubuntu package)
python3.12 (Ubuntu package)
python3.12-minimal (Ubuntu package)
Data Computing Appliance (DCA)
Dell PowerProtect Cyber Recovery
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
How to mitigate CVE-2018-14647
python (Red Hat package) - addressed in versions 2.7.5-63.el7_4, 2.7.5-74.el7_5, 2.7.5-83.el7_6
python2-tkinter (Alpine package) - update to 2.7.17-r0
python3.5 (Debian package) - update to 3.5.3-1+deb9u1
python3.7 (Ubuntu package) - update to Ubuntu Pro
python3.8 (Ubuntu package) - addressed in versions Ubuntu Pro, 3.8.10-0ubuntu1~20.04.10
python3.11-minimal (Ubuntu package) - addressed in versions Ubuntu Pro, 3.11.6-3ubuntu0.1
python3.8-minimal (Ubuntu package) - addressed in versions Ubuntu Pro, 3.8.10-0ubuntu1~20.04.10
python3.11 (Ubuntu package) - addressed in versions Ubuntu Pro, 3.11.6-3ubuntu0.1
python3.9 (Ubuntu package) - update to Ubuntu Pro
python3.9-minimal (Ubuntu package) - update to Ubuntu Pro
python3.6 (Ubuntu package) - update to Ubuntu Pro
python3.6-minimal (Ubuntu package) - update to Ubuntu Pro
python3.7-minimal (Ubuntu package) - update to Ubuntu Pro
python3.5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
python3.5-minimal (Ubuntu package) - update to Ubuntu Pro
python26 - addressed in versions 2.6.9-17.fc27, 2.6.9-17.fc28, 2.6.9-17.fc29
python27-python-jinja2 (Red Hat package) - addressed in versions 2.6-12.el6, 2.6-15.el7
python2 - addressed in versions 2.7.15-4.fc27, 2.7.15-4.fc28, 2.7.15-11.fc29, 2.7.16-1.fc30
python2-docs - update to 2.7.16-1.fc30
python27-python (Red Hat package) - addressed in versions 2.7.16-4.el6, 2.7.16-4.el7
python33 - addressed in versions 3.3.7-3.fc27, 3.3.7-6.fc28
python34 - addressed in versions 3.4.9-4.fc29, 3.4.10-1.el6, 3.4.10-1.el7
python35 - addressed in versions 3.5.6-3.fc27, 3.5.6-3.fc28, 3.5.6-3.fc29
python36 - addressed in versions 3.6.7-1.fc29, 3.6.8-1.el7
python3 - addressed in versions 3.6.7-2.fc28, 3.7.1-1.fc29
python37 - addressed in versions 3.7.0-10.fc28, 3.7.1-1.fc28
python3.10-minimal (Ubuntu package) - update to 3.10.12-1~22.04.4
python3.10 (Ubuntu package) - update to 3.10.12-1~22.04.4
python3.12 (Ubuntu package) - update to 3.12.0-1ubuntu0.1
python3.12-minimal (Ubuntu package) - update to 3.12.0-1ubuntu0.1
Data Computing Appliance (DCA) - update to 4.3.0.0
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.0.0.5.116
Dell EMC Unity Operating Environment (OE) - update to 5.0.0.0.5.116
Dell PowerProtect Cyber Recovery - update to 18.1.1.2-8
External References
Related Security Bulletins
- Amazon Linux AMI update for python35
- Amazon Linux AMI update for python34
- Debian update for python3.5
- Debian update for python2.7
- OpenSUSE Linux update for python
- Slackware Linux update for python
- Red Hat update for python
- Red Hat update for rh-python36-python
- Red Hat Enterprise Linux 7 update for python
- Red Hat Enterprise Linux 7 update for python
- Red Hat Enterprise Linux 7 update for python
- XXE attack in python2-tkinter (Alpine package)
- Multiple vulnerabilities in Dell EMC Cyber Recovery
- Multiple vulnerabilities in Dell EMC Unity Family
- Multiple vulnerabilities in Dell EMC Data Computing Appliance (DCA)
- Red Hat Software Collections update for python27-python and python27-python-jinja2
- Ubuntu update for python3.10
- Fedora 28 update for python33
- Fedora 27 update for python33
- Fedora 29 update for python35
- Fedora 28 update for python35
- Fedora 29 update for python26
- Fedora 28 update for python26
- Fedora 28 update for python2
- Fedora 27 update for python35
- Fedora 29 update for python2
- Fedora 27 update for python26
- Fedora 27 update for python2
- Fedora 28 update for python37
- Fedora 29 update for python3
- Fedora 28 update for python37
- Fedora 29 update for python34
- Fedora 28 update for python3
- Fedora 29 update for python36
- Fedora 30 update for python2, python2-docs
- Fedora EPEL 6 update for python34
- Fedora EPEL 7 update for python34
- Fedora EPEL 7 update for python36