CVE-2020-27619 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code by exploiting eval() on HTTP-retrieved content in Python's CJK codec tests.

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

What is CVE-2020-27619?

CVE-2020-27619 is a critical code injection vulnerability in Fedoraproject Fedora, published on 22 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.

Which versions are affected by CVE-2020-27619?

3 open source packages ship an affected version, including libpython, python and python-min. It affects 3 products.

PackageAffectedFixed in
libpython BitnamiFrom 3.0.03.6.13, 3.7.10, 3.8.7, 3.9.1
python BitnamiFrom 3.0.03.6.13, 3.7.10, 3.8.7, 3.9.1
python-min BitnamiFrom 3.0.03.6.13, 3.7.10, 3.8.7, 3.9.1
Linux distribution packages (30)
python3 SUSE:HPE Helion OpenStack 8All versions3.4.10-25.71.1
python3-base SUSE:HPE Helion OpenStack 8All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server 12 SP2-BCLAll versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server 12 SP3-BCLAll versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server 12 SP5All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server 12 SP5All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions3.4.10-25.71.1
python3 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions3.4.10-25.71.1
python3-base SUSE:Linux Enterprise Software Development Kit 12 SP5All versions3.4.10-25.71.1
python3 SUSE:OpenStack Cloud 8All versions3.4.10-25.71.1
python3-base SUSE:OpenStack Cloud 8All versions3.4.10-25.71.1
python3 SUSE:OpenStack Cloud 9All versions3.4.10-25.71.1
python3-base SUSE:OpenStack Cloud 9All versions3.4.10-25.71.1
python3 SUSE:OpenStack Cloud Crowbar 8All versions3.4.10-25.71.1
python3-base SUSE:OpenStack Cloud Crowbar 8All versions3.4.10-25.71.1
python3 SUSE:OpenStack Cloud Crowbar 9All versions3.4.10-25.71.1
python3-base SUSE:OpenStack Cloud Crowbar 9All versions3.4.10-25.71.1

Products include Fedoraproject Fedora, Oracle Communications Cloud Native Core Network Function Cloud Native Environment, Python Python.

How do I fix CVE-2020-27619?

Upgrade libpython to a fixed version for your release line: 3.6.13, 3.7.10, 3.8.7 or 3.9.1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2020-27619 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-libpython-2020-27619, BIT-python-2020-27619, BIT-python-min-2020-27619, CLSA-2024-1721401321, CLSA-2024-1721401573, DEBIAN-CVE-2020-27619 and 6 more.

Is CVE-2020-27619 in your software?

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

Check your SBOMs for free