Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

USN-5888-1: Python vulnerabilities

27 February 2023

Several security issues were fixed in Python.

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Releases

Packages

  • python3.9 - An interactive high-level object-oriented language

Details

It was discovered that Python incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially
crafted input file, a remote attacker could possibly use this issue to
execute arbitrary code. (CVE-2015-20107)

Hamza Avvan discovered that Python incorrectly handled certain inputs. If a
user or an automated system were tricked into running a specially
crafted input, a remote attacker could possibly use this issue to execute
arbitrary code. (CVE-2021-28861)

It was discovered that Python incorrectly handled certain inputs. If a
user or an automated system were tricked into running a specially
crafted input, a remote attacker could possibly use this issue to execute
arbitrary code. (CVE-2022-37454, CVE-2022-42919)

It was discovered that Python incorrectly handled certain inputs. If a
user or an automated system were tricked into running a specially
crafted input, a remote attacker could possibly use this issue to cause a
denial of service. (CVE-2022-45061, CVE-2023-24329)

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 20.04

In general, a standard system update will make all the necessary changes.

Related notices

  • USN-5713-1: python3.10-dev, idle-python3.10, python3.10-minimal, python3.10-venv, python3.10-full, libpython3.10-stdlib, libpython3.10, python3.10-nopie, libpython3.10-dev, python3.10-examples, python3.10-doc, libpython3.10-minimal, python3.10, libpython3.10-testsuite
  • USN-6891-1: idle-python3.9, libpython3.9, libpython3.5, python3.10-nopie, libpython3.10-dev, libpython3.11-testsuite, libpython3.5-minimal, python3.9-venv, libpython3.7-minimal, python3.8-venv, python3.11, python3.11-examples, libpython3.8-minimal, libpython3.6-dev, idle-python3.10, python3.8, python3.10-minimal, libpython3.7, python3.12-examples, python3.11-doc, python3.7-examples, libpython3.12-testsuite, python3.11-minimal, libpython3.8-stdlib, idle-python3.7, python3.10-full, python3.9-examples, python3.8-examples, libpython3.8, python3.6-examples, python3.9, python3.11-full, libpython3.8-dev, python3.12-minimal, python3.10-dev, python3.9-doc, python3.12-nopie, python3.10-venv, python3.10-examples, python3.11-dev, python3.7, python3.7-venv, libpython3.8-testsuite, python3.11-nopie, python3.9-full, idle-python3.6, python3.8-dev, python3.6-dev, libpython3.6-stdlib, python3.12-doc, libpython3.10-stdlib, libpython3.5-stdlib, libpython3.9-testsuite, idle-python3.12, python3.6-venv, libpython3.12-stdlib, libpython3.9-dev, libpython3.11-dev, libpython3.10, libpython3.7-testsuite, python3.7-minimal, libpython3.10-testsuite, libpython3.6-testsuite, idle-python3.5, idle-python3.8, python3.5, python3.5-doc, python3.6, libpython3.11, python3.12-dev, libpython3.11-minimal, python3.12, libpython3.12-dev, python3.8-minimal, python3.8-full, python3.9-minimal, python3.12-full, libpython3.7-dev, libpython3.12-minimal, python3.5-examples, libpython3.12, python3.9-dev, idle-python3.11, libpython3.6-minimal, libpython3.5-dev, libpython3.11-stdlib, libpython3.5-testsuite, python3.5-minimal, libpython3.9-minimal, python3.11-venv, python3.7-dev, libpython3.6, python3.6-minimal, python3.6-doc, python3.8-doc, python3.5-dev, python3.5-venv, libpython3.9-stdlib, python3.12-venv, libpython3.7-stdlib, python3.7-doc, python3.10-doc, libpython3.10-minimal, python3.10
  • USN-5717-1: php7.2-dev, php7.4-sybase, php8.1-zip, libphp8.1-embed, php8.1-gd, libphp7.4-embed, php8.1-ldap, php7.4-mysql, php7.4-pgsql, libapache2-mod-php7.4, php8.1-dba, php7.2-xml, php7.2-odbc, php7.4-common, php7.4-mbstring, php8.1-tidy, php7.2-snmp, php8.1-mbstring, php7.2-phpdbg, php7.2-pspell, php7.4-xmlrpc, php7.4-pspell, php7.2-opcache, php7.2-interbase, php7.4-zip, php8.1-cgi, php7.4, php7.4-ldap, php7.4-bcmath, php7.2-json, php8.1-xml, php7.2-ldap, php7.4-dev, php8.1-common, php8.1-xsl, php7.4-xsl, php8.1-pspell, php7.4-xml, php8.1-opcache, php7.2-dba, php7.4-curl, php8.1-odbc, php7.4-gmp, libapache2-mod-php8.0, php7.2-enchant, php7.4-sqlite3, php8.1-dev, php7.2-mysql, php7.2-gmp, php7.2-intl, php7.2-imap, php7.4-odbc, php7.2, php8.1-bcmath, libapache2-mod-php7.2, php8.1-imap, php7.2-cli, php7.2-pgsql, php7.2-xmlrpc, php7.4-json, php7.2-tidy, php7.4-fpm, php7.4-opcache, php8.1, php8.1-pgsql, php7.4-cli, php7.4-tidy, php7.4-readline, libphp7.2-embed, php7.4-intl, php7.2-sqlite3, php7.2-fpm, php7.4-phpdbg, php8.1-snmp, php7.4-snmp, php7.2-curl, libapache2-mod-php8.1, php7.4-dba, php7.4-enchant, php7.2-cgi, php8.1-sybase, php7.4-bz2, php8.1-phpdbg, php7.2-readline, php8.1-curl, php7.4-gd, php7.2-bcmath, php8.1-soap, php8.1-bz2, php8.1-readline, php8.1-gmp, php7.2-sybase, php7.2-gd, php7.2-common, php7.4-soap, php8.1-sqlite3, php7.2-mbstring, php7.2-recode, php8.1-fpm, php7.2-zip, php8.1-mysql, php8.1-interbase, php8.1-cli, php7.4-interbase, php7.4-cgi, php7.2-xsl, php8.1-intl, php7.2-soap, php7.4-imap, php8.1-enchant, php7.2-bz2
  • USN-5767-1: python2.7, python3.6-examples, libpython3.6-minimal, libpython3.8-dev, libpython3.10, python3.10-nopie, libpython3.10-dev, idle-python2.7, libpython3.10-testsuite, python3.10-dev, libpython3.6-testsuite, libpython2.7-minimal, python2.7-doc, python2.7-examples, idle-python3.8, python2.7-minimal, python3.8-venv, python3.10-venv, libpython3.6, python3.10-examples, python3.6-minimal, libpython2.7-dev, python3.6-doc, python3.6, libpython3.8-minimal, python3.8-doc, libpython3.6-dev, python2.7-dev, libpython3.8-testsuite, idle-python3.10, libpython2.7-testsuite, python3.10-minimal, libpython2.7, python3.8, idle-python3.6, python3.8-dev, libpython2.7-stdlib, python3.6-dev, python3.8-minimal, python3.6-venv, libpython3.8-stdlib, python3.8-full, libpython3.6-stdlib, python3.10-full, libpython3.10-stdlib, python3.8-examples, libpython3.8, python3.10-doc, libpython3.10-minimal, python3.10
  • USN-5767-3: libpython3.6-dev, libpython3.6-testsuite, python3.6-examples, libpython3.6-minimal, python3.6-dev, idle-python3.6, libpython3.6, libpython3.6-stdlib, python3.6-minimal, python3.6-venv, python3.6-doc, python3.6
  • USN-5930-1: python3.7-dev, python3.7, python3.7-minimal, python3.7-venv, libpython3.7-minimal, python3.7-examples, libpython3.7, idle-python3.7, python3.7-doc, libpython3.7-dev, libpython3.7-testsuite, libpython3.7-stdlib
  • USN-5931-1: python3.8-minimal, libpython3.8-testsuite, python3.8, libpython3.8-stdlib, idle-python3.8, libpython3.8-dev, python3.8-venv, python3.8-dev, python3.8-examples, libpython3.8, libpython3.8-minimal
  • USN-6524-1: pypy3-doc, pypy3-lib-testsuite, pypy3, pypy3-tk, pypy3-venv, pypy3-dev, pypy3-lib
  • USN-6525-1: pysha3, python3-sha3
  • USN-5629-1: idle-python3.5, libpython3.5-dev, libpython3.5-testsuite, python3.5-minimal, python3.5, libpython3.5, python3.5-doc, libpython3.5-stdlib, python3.5-dev, python3.5-venv, libpython3.5-minimal, python3.5-examples
  • USN-5767-2: python2.7, libpython3.5-dev, libpython3.5-testsuite, python3.5-minimal, libpython3.5, libpython3.5-minimal, idle-python2.7, python2.7-examples, libpython2.7-minimal, idle-python3.5, python2.7-doc, python2.7-minimal, python3.5, python3.5-doc, libpython2.7-dev, python2.7-dev, libpython2.7-testsuite, libpython2.7, python3.5-dev, python3.5-venv, libpython2.7-stdlib, libpython3.5-stdlib, python3.5-examples
  • USN-5519-1: idle-python3.9, libpython3.9, libpython3.5, python3.10-nopie, python3.4-dev, libpython3.10-dev, libpython3.5-minimal, libpython2.7-minimal, python3.9-venv, python3.8-venv, libpython2.7-dev, libpython3.8-minimal, libpython3.6-dev, python3.4-minimal, idle-python3.10, libpython2.7-testsuite, python3.10-minimal, libpython2.7, python3.8, libpython3.4-stdlib, libpython3.8-stdlib, python3.4-examples, python3.4-doc, python3.10-full, python3.9-examples, python3.8-examples, libpython3.8, python2.7, python3.6-examples, python3.9, idle-python3.4, libpython3.8-dev, libpython3.4-testsuite, idle-python2.7, python3.10-dev, python3.9-doc, python2.7-minimal, python3.10-venv, python3.10-examples, python2.7-dev, libpython3.8-testsuite, python3.9-full, idle-python3.6, python3.8-dev, python3.6-dev, libpython3.6-stdlib, libpython3.10-stdlib, libpython3.4-minimal, libpython3.5-stdlib, libpython3.9-testsuite, python3.6-venv, libpython3.9-dev, libpython3.10, libpython3.10-testsuite, libpython3.6-testsuite, idle-python3.5, idle-python3.8, python3.5, python3.5-doc, python3.6, python3.8-minimal, python3.8-full, python3.9-minimal, python3.5-examples, python3.9-dev, libpython3.4, libpython3.6-minimal, libpython3.5-dev, libpython3.5-testsuite, python3.5-minimal, python3.4-venv, libpython3.9-minimal, python2.7-examples, python2.7-doc, libpython3.6, python3.6-minimal, python3.6-doc, python3.8-doc, python3.5-dev, python3.5-venv, libpython3.9-stdlib, libpython2.7-stdlib, python3.4, libpython3.4-dev, python3.10-doc, libpython3.10-minimal, python3.10
  • USN-5960-1: python2.7, python3.6-examples, libpython3.6-minimal, libpython3.5-dev, libpython3.5-testsuite, python3.5-minimal, libpython3.8-dev, libpython3.5, libpython3.10, python3.10-nopie, libpython3.10-dev, libpython3.5-minimal, idle-python2.7, libpython3.10-testsuite, python3.10-dev, libpython3.6-testsuite, libpython2.7-minimal, idle-python3.5, python2.7-doc, python2.7-examples, idle-python3.8, python2.7-minimal, python3.5, python3.10-venv, libpython3.6, python3.5-doc, python3.8-venv, python3.10-examples, python3.6-minimal, libpython2.7-dev, python3.6-doc, python3.6, libpython3.8-minimal, python3.8-doc, libpython3.6-dev, python2.7-dev, libpython3.8-testsuite, idle-python3.10, libpython2.7-testsuite, python3.10-minimal, libpython2.7, python3.8, idle-python3.6, python3.5-dev, python3.5-venv, python3.8-dev, python3.5-examples, libpython2.7-stdlib, python3.6-dev, python3.8-minimal, python3.6-venv, libpython3.8-stdlib, python3.8-full, libpython3.6-stdlib, python3.10-full, libpython3.10-stdlib, libpython3.5-stdlib, python3.8-examples, libpython3.8, python3.10-doc, libpython3.10-minimal, python3.10
  • USN-6139-1: python2.7, python3.6-examples, libpython3.11-dev, libpython3.6-minimal, libpython3.5-dev, libpython3.11-stdlib, libpython3.5-testsuite, python3.5-minimal, python3.11-full, libpython3.8-dev, libpython3.5, libpython3.10, python3.10-nopie, libpython3.10-dev, libpython3.11-testsuite, idle-python2.7, libpython3.5-minimal, python3.11-venv, libpython3.10-testsuite, python3.10-dev, libpython3.6-testsuite, libpython2.7-minimal, idle-python3.5, python2.7-doc, python2.7-examples, idle-python3.8, python2.7-minimal, python3.5, python3.10-venv, libpython3.6, python3.11, python3.11-examples, python3.5-doc, python3.8-venv, python3.10-examples, python3.11-dev, python3.6-minimal, libpython2.7-dev, python3.6-doc, python3.6, libpython3.8-minimal, python3.8-doc, libpython3.6-dev, libpython3.11, python2.7-dev, libpython3.8-testsuite, idle-python3.10, libpython2.7-testsuite, python3.10-minimal, libpython2.7, python3.11-nopie, python3.8, idle-python3.6, python3.5-dev, libpython3.11-minimal, python3.5-venv, python3.11-doc, python3.5-examples, libpython2.7-stdlib, python3.8-dev, python3.6-dev, python3.8-minimal, python3.6-venv, python3.11-minimal, libpython3.8-stdlib, python3.8-full, libpython3.6-stdlib, python3.10-full, libpython3.10-stdlib, libpython3.5-stdlib, python3.8-examples, libpython3.8, python3.10-doc, libpython3.10-minimal, python3.10, idle-python3.11