python-apt uses MD5 for validation (Canonical Python-apt)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.45 % · percentile 39 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- canonical
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-327 — Use of a Broken or Risky Cryptographic Algorithm
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | canonical |
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · security@ubuntu.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-rp8m-h266-53jh — python-apt Flawed Package Integrity Check
European references
- ENISA EUVD · EUVD-2022-5210
- GCVE · GCVE-0-2019-15795
Affected configurations (NVD CPE)
cpe:2.3:a:ubuntu:python-apt:0.8.0:ubuntu9:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.1:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu3:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu4:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu5:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu6:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.3:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.9.1:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.8.9.1:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.0:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.1:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.1:build1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.1:build2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.1:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.1:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.2:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.3:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.3:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.4:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.4:build1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.5:*:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu3:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.0.1:build1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1build1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.1:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.2:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.3:*:*:*:*:*:*cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.4:*:*:*:*:*:*- +28 more
Affected products
| Product | Versions |
|---|---|
| Canonical · Python-apt | affected 0.8.3 < 0.8.3ubuntu7.5 ; affected 0.9.3.5 < 0.9.3.5ubuntu3+esm2 ; affected 1.1.0 < 1.1.0~beta1ubuntu0.16.04.7 ; affected 1.6.5 < 1.6.5ubuntu0.1 ; affected 1.9.0 < 1.9.0ubuntu1.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |