CVE-2013-2099 Denial of service in n/a

Medium 4.3 Published Updated

Remote attackers can cause denial of service via CPU exhaustion by exploiting algorithmic complexity in Python's SSL hostname matching function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-2099?

CVE-2013-2099 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 9 Oct 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Algorithmic complexity vulnerability in the ssl.match_hostname function in Python 3.2.x, 3.3.x, and earlier, and unspecified versions of python-backports-ssl_match_hostname as used for older Python versions, allows remote attackers to cause a denial of service (CPU consumption) via multiple wildcard characters in the common name in a certificate.

Weakness: CWE-399

Which versions are affected by CVE-2013-2099?

It affects 2 products.

Linux distribution packages (40)
python-backports-ssl_match_hostname Red Hat:openstack:4::el6All versions0:3.4.0.2-1.el6
cloud-init Red Hat:rhel_common:6::el6All versions0:0.7.5-1.el6
python-backports Red Hat:rhel_common:6::el6All versions0:1.0-3.el6
python-backports-ssl_match_hostname Red Hat:rhel_common:6::el6All versions0:3.4.0.2-1.el6
python-boto Red Hat:rhel_common:6::el6All versions0:2.25.0-2.el6
python-jsonpatch Red Hat:rhel_common:6::el6All versions0:1.2-2.el6
python-jsonpointer Red Hat:rhel_common:6::el6All versions0:1.0-2.el6
python-six Red Hat:rhel_common:6::el6All versions0:1.6.1-1.el6
python-urllib3 Red Hat:rhel_common:6::el6All versions0:1.5-5.1.2.el6
rhsc Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-backend Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-branding-rhs Red Hat:storage:2.1:console:el6All versions0:2.1.5-2.0.el6rhs
rhsc-dbscripts Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-lib Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-restapi Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-setup Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-tools Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
rhsc-webadmin-portal Red Hat:storage:2.1:console:el6All versions0:2.1.2-0.40.el6rhs
glusterfs Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-api Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-api-devel Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-debuginfo Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-devel Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-fuse Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-geo-replication Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-libs Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-rdma Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
glusterfs-server Red Hat:storage:2.1:server:el6All versions0:3.4.0.68rhs-1.el6rhs
python-backports Red Hat:storage:2.1:server:el6All versions0:1.0-3.el6
python-backports-ssl_match_hostname Red Hat:storage:2.1:server:el6All versions0:3.4.0.2-1.el6
redhat-storage-server Red Hat:storage:2.1:server:el6All versions0:2.1.4.2-1.el6rhs
glusterfs Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-api Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-api-devel Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-debuginfo Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-devel Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-fuse Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-libs Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs-rdma Red Hat:storage:2:client:el5All versions0:3.4.0.68rhs-1.el5
glusterfs Red Hat:storage:3:client:el6All versions0:3.4.0.68rhs-1.el6

Products include Canonical Ubuntu Linux, Python Python.

How do I fix CVE-2013-2099?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2013-2099 being exploited?

There is no known exploitation of CVE-2013-2099 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CVE-2013-2098, DEBIAN-CVE-2013-2099, GHSA-cqcg-qrcv-vr6v, PSF-2013-1, RHSA-2014:1263, RHSA-2014:1690 and 2 more.

Is CVE-2013-2099 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free