ALBA-2019:1954 python27:2.7 bug fix update

Not scored Published

A bug in Python's urlsplit function causes failures when processing NFKD hostnames with ports, potentially leading to application errors or denial of service.

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

What is ALBA-2019:1954?

ALBA-2019:1954 is a vulnerability in python-psycopg2-doc, published on 30 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Bug Fix(es):

  • urlsplit doesn't accept a NFKD hostname with a port number (BZ#1714757)

Which versions are affected by ALBA-2019:1954?

Linux distribution packages (24)
python-psycopg2-doc AlmaLinux:8All versions2.7.5-7.module_el8.6.0+2781+fed64c13
python2-Cython AlmaLinux:8All versions0.28.1-7.module_el8.6.0+2781+fed64c13
python2-PyMySQL AlmaLinux:8All versions0.8.0-10.module_el8.6.0+2781+fed64c13
python2-attrs AlmaLinux:8All versions17.4.0-10.module_el8.6.0+2781+fed64c13
python2-chardet AlmaLinux:8All versions3.0.4-10.module_el8.6.0+2781+fed64c13
python2-coverage AlmaLinux:8All versions4.5.1-4.module_el8.6.0+2781+fed64c13
python2-docutils AlmaLinux:8All versions0.14-12.module_el8.6.0+2781+fed64c13
python2-funcsigs AlmaLinux:8All versions1.0.2-13.module_el8.6.0+2781+fed64c13
python2-idna AlmaLinux:8All versions2.5-7.module_el8.6.0+2781+fed64c13
python2-ipaddress AlmaLinux:8All versions1.0.18-6.module_el8.6.0+2781+fed64c13
python2-markupsafe AlmaLinux:8All versions0.23-19.module_el8.6.0+2781+fed64c13
python2-mock AlmaLinux:8All versions2.0.0-13.module_el8.6.0+2781+fed64c13
python2-pluggy AlmaLinux:8All versions0.6.0-8.module_el8.6.0+2781+fed64c13
python2-psycopg2 AlmaLinux:8All versions2.7.5-7.module_el8.6.0+2781+fed64c13
python2-psycopg2-debug AlmaLinux:8All versions2.7.5-7.module_el8.6.0+2781+fed64c13
python2-psycopg2-tests AlmaLinux:8All versions2.7.5-7.module_el8.6.0+2781+fed64c13
python2-py AlmaLinux:8All versions1.5.3-6.module_el8.6.0+2781+fed64c13
python2-pysocks AlmaLinux:8All versions1.6.8-6.module_el8.6.0+2781+fed64c13
python2-pytest AlmaLinux:8All versions3.4.2-13.module_el8.6.0+2781+fed64c13
python2-pytest-mock AlmaLinux:8All versions1.9.0-4.module_el8.6.0+2781+fed64c13
python2-pytz AlmaLinux:8All versions2017.2-12.module_el8.6.0+2781+fed64c13
python2-pyyaml AlmaLinux:8All versions3.12-16.module_el8.6.0+2781+fed64c13
python2-rpm-macros AlmaLinux:8All versions3-38.module_el8.6.0+2781+fed64c13
python2-setuptools_scm AlmaLinux:8All versions1.15.7-6.module_el8.6.0+2781+fed64c13

How do I fix ALBA-2019:1954?

Apply the vendor's patch.

Is ALBA-2019:1954 being exploited?

There is no known exploitation of ALBA-2019:1954 in the wild and no public exploit code.

Sources

Is ALBA-2019:1954 in your software?

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

Check your SBOMs for free