GHSA-pj65-3pf6-c5q4

Suggest an improvement
Source
https://github.com/advisories/GHSA-pj65-3pf6-c5q4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pj65-3pf6-c5q4/GHSA-pj65-3pf6-c5q4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-pj65-3pf6-c5q4
Aliases
Published
2022-05-24T17:12:47Z
Modified
2023-11-01T05:44:38.542075Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
python-apt Does Not Check Hash Signature
Details

Python-apt doesn't check if hashes are signed in Version.fetch_binary() and Version.fetch_source() of apt/package.py or in _fetch_archives() of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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.

Database specific
{
    "nvd_published_at": "2020-03-26T13:15:00Z",
    "cwe_ids": [
        "CWE-347"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-18T22:36:38Z"
}
References

Affected packages

PyPI / python-apt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.3ubuntu7.5

PyPI / python-apt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.9.0
Fixed
0.9.3.5ubuntu3

PyPI / python-apt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.0
Fixed
1.6.5ubuntu0.1

PyPI / python-apt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.7.0
Fixed
1.9.0ubuntu1.2

PyPI / python-apt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.9.1
Fixed
1.9.5