-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2020.0239.3
                  USN-4247-1: python-apt vulnerabilities
                              24 January 2020

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           python-apt
Publisher:         Ubuntu
Operating System:  Ubuntu
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-15796 CVE-2019-15795 

Original Bulletin: 
   https://usn.ubuntu.com/4247-2/
   https://usn.ubuntu.com/4247-3/

Comment: This bulletin contains two (2) Ubuntu security advisories.
         
         This advisory references vulnerabilities in products which run on 
         platforms other than Ubuntu. It is recommended that administrators 
         running python-apt check for an updated version of the software for
         their operating system.

Revision History:  January 24 2020: Vendor released updated advisory USN-4247-3
                   January 23 2020: Updated packages due to regression
                   January 23 2020: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-4247-2: python-apt regression
22 January 2020

python-apt regression
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.10
  o Ubuntu 19.04
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Summary

USN-4247-1 introduced a regression in python-apt.

Software Description

  o python-apt - Python interface to libapt-pkg

Details

USN-4247-1 fixed vulnerabilities in python-apt. The updated packages caused a
regression when attempting to upgrade to a new Ubuntu release. This update
fixes the problem.

We apologize for the inconvenience.

Original advisory details:

It was discovered that python-apt would still use MD5 hashes to validate
certain downloaded packages. If a remote attacker were able to perform a
man-in-the-middle attack, this flaw could potentially be used to install
altered packages. (CVE-2019-15795)

It was discovered that python-apt could install packages from untrusted
repositories, contrary to expectations. (CVE-2019-15796)

Update instructions

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

Ubuntu 19.10
    python-apt - 1.9.0ubuntu1.3
    python3-apt - 1.9.0ubuntu1.3
Ubuntu 19.04
    python-apt - 1.8.5~ubuntu0.3
    python3-apt - 1.8.5~ubuntu0.3
Ubuntu 18.04 LTS
    python-apt - 1.6.5ubuntu0.2
    python3-apt - 1.6.5ubuntu0.2
Ubuntu 16.04 LTS
    python-apt - 1.1.0~beta1ubuntu0.16.04.8
    python3-apt - 1.1.0~beta1ubuntu0.16.04.8

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o USN-4247-1
  o LP: 1860606

- ------------------------------------------------------------------------------


USN-4247-3: python-apt vulnerabilities
23 January 2020

python-apt vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 14.04 ESM
  o Ubuntu 12.04 ESM

Summary

Several security issues were fixed in python-apt.

Software Description

  o python-apt - Python interface to libapt-pkg

Details

USN-4247-1 fixed several vulnerabilities in python-apt. This update provides
the corresponding updates for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that python-apt would still use MD5 hashes to validate
certain downloaded packages. If a remote attacker were able to perform a
man-in-the-middle attack, this flaw could potentially be used to install
altered packages. (CVE-2019-15795)

It was discovered that python-apt could install packages from untrusted
repositories, contrary to expectations. (CVE-2019-15796)

Update instructions

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

Ubuntu 14.04 ESM
    python-apt - 0.9.3.5ubuntu3+esm2
    python3-apt - 0.9.3.5ubuntu3+esm2
Ubuntu 12.04 ESM
    python-apt - 0.8.3ubuntu7.5
    python3-apt - 0.8.3ubuntu7.5

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o USN-4247-1
  o CVE-2019-15795
  o CVE-2019-15796

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXipy3WaOgq3Tt24GAQg8ghAA0i8sOEPVRsAiIa3UeQZbXfEy3hyM16hx
wapqrveHvU3+wuLRaAgl4X88HVUy7D4ZJTrfWjFBInHl61qpv0TwHMF1j1JOo9OJ
fwwjYI7lETwDYMxs9Ecg/T1dAFK+B3MAsEWoVVBzGOX7TY1DiVHwTVP1Ds/VZIaE
iKrfBBG2vGk5X62l02UdzWicHdKJh3E7fa/WEHL2dVNCKpRh2VEDS2XPNMXXGTNy
VTC79ZtoLOQgxPX+TotRaoJOgye9g7Xv2TgoBkL7Wdbko2K0sBNsQ0pBsvtRHYw+
wk2YwMuzP6l1g8g26+3zfWTT+R1pFum+mvqPG4J2zdwX+OB20BDQsWZ2y/+xdA5i
WREJq/6VEp5pxUsaNNxqzckDsbdF3blx8a+Y4FkenhlJLqGYcEhazLu9yjbuVifs
J/XJdwH95PzTKQaK4oRJJmQCKVI+O2rJiv+su339SpTTxV5h2Ie/NNGd/eHql58q
VjVLDBAm2gMQh0fQ8lY2iByVz7qidcACibBhgFla4xK+Gz9evWVvwB2qitzNMXxM
OKE/gi4k1a64DKyTNfKxOwifskw7wko+z56TAVx6YDIr0hBemXVg3gEpOVfYpa7/
1xEWWv/42M2d7ulZLgj57fHJSU/HlIDQorq5LbGfD/tdoXYTBikddEhauKK6t+W2
1jK722kVIhI=
=OI33
-----END PGP SIGNATURE-----