Description
python-apt only checks the MD5 sums of downloaded files in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py in version 1.9.0ubuntu1 and earlier. This allows a man-in-the-middle attack which could potentially be used to install altered packages and has been fixed in versions 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, and 0.8.3ubuntu7.5.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected products
- Canonical / python-apt0.8.3 – 0.8.3ubuntu7.5
- Canonical / python-apt0.9.3.5 – 0.9.3.5ubuntu3+esm2
- Canonical / python-apt1.1.0 – 1.1.0~beta1ubuntu0.16.04.7
- Canonical / python-apt1.6.5 – 1.6.5ubuntu0.1
- Canonical / python-apt1.9.0 – 1.9.0ubuntu1.2
References
- VENDOR_ADVISORYhttps://usn.ubuntu.com/4247-1/
- VENDOR_ADVISORYhttps://usn.ubuntu.com/4247-3/