Search criteria
8 vulnerabilities found for Python-apt by Canonical
CVE-2025-6966 (GCVE-0-2025-6966)
Vulnerability from nvd – Published: 2025-12-05 12:59 – Updated: 2025-12-05 14:01
VLAI?
Summary
NULL pointer dereference in TagSection.keys() in python-apt on APT-based
Linux systems allows a local attacker to cause a denial of service
(process crash) via a crafted deb822 file with a malformed non-UTF-8 key.
Severity ?
CWE
- CWE-476 - NULL Pointer Dereference
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | python-apt |
Affected:
0
|
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-6966",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-12-05T14:01:32.250030Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-12-05T14:01:38.476Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://launchpad.net/ubuntu/+source/python-apt",
"defaultStatus": "unaffected",
"packageName": "python-apt",
"platforms": [
"Linux"
],
"product": "python-apt",
"vendor": "Canonical",
"versions": [
{
"status": "affected",
"version": "0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Julian Andres Klode"
}
],
"datePublic": "2025-12-05T12:00:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "NULL pointer dereference in \u003ccode\u003eTagSection.keys()\u003c/code\u003e in python-apt on APT-based \nLinux systems allows a local attacker to cause a denial of service \n(process crash) via a crafted deb822 file with a malformed non-UTF-8 key.\u003cbr\u003e"
}
],
"value": "NULL pointer dereference in TagSection.keys() in python-apt on APT-based \nLinux systems allows a local attacker to cause a denial of service \n(process crash) via a crafted deb822 file with a malformed non-UTF-8 key."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476 NULL Pointer Dereference",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-12-05T12:59:41.320Z",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"url": "https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "Null-pointer dereference in python-apt TagSection.keys()"
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2025-6966",
"datePublished": "2025-12-05T12:59:41.320Z",
"dateReserved": "2025-07-01T09:59:55.552Z",
"dateUpdated": "2025-12-05T14:01:38.476Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2020-27351 (GCVE-0-2020-27351)
Vulnerability from nvd – Published: 2020-12-10 04:05 – Updated: 2024-09-16 22:15
VLAI?
Summary
Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;
Severity ?
CWE
- CWE-772 - Missing Release of Resource after Effective Lifetime
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | python-apt |
Affected:
1.1.0~beta1 , < 1.1.0~beta1ubuntu0.16.04.10
(custom)
Affected: 1.6.5ubuntu0 , < 1.6.5ubuntu0.4 (custom) Affected: 2.0.0ubuntu0 , < 2.0.0ubuntu0.20.04.2 (custom) Affected: 2.1.3ubuntu1 , < 2.1.3ubuntu1.1 (custom) |
Credits
Kevin Backhouse
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T16:11:36.602Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
],
"url": "https://www.debian.org/security/2020/dsa-4809"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.10",
"status": "affected",
"version": "1.1.0~beta1",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.4",
"status": "affected",
"version": "1.6.5ubuntu0",
"versionType": "custom"
},
{
"lessThan": "2.0.0ubuntu0.20.04.2",
"status": "affected",
"version": "2.0.0ubuntu0",
"versionType": "custom"
},
{
"lessThan": "2.1.3ubuntu1.1",
"status": "affected",
"version": "2.1.3ubuntu1",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Kevin Backhouse"
}
],
"datePublic": "2020-12-09T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 2,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-772",
"description": "CWE-772 Missing Release of Resource after Effective Lifetime",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-12-10T11:06:07",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN"
],
"url": "https://www.debian.org/security/2020/dsa-4809"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4668-1",
"defect": [
"https://bugs.launchpad.net/bugs/1899193"
],
"discovery": "EXTERNAL"
},
"title": "Various memory and file descriptor leaks in apt-python",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2020-12-09T00:00:00.000Z",
"ID": "CVE-2020-27351",
"STATE": "PUBLIC",
"TITLE": "Various memory and file descriptor leaks in apt-python"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "python-apt",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "1.1.0~beta1",
"version_value": "1.1.0~beta1ubuntu0.16.04.10"
},
{
"version_affected": "\u003c",
"version_name": "1.6.5ubuntu0",
"version_value": "1.6.5ubuntu0.4"
},
{
"version_affected": "\u003c",
"version_name": "2.0.0ubuntu0",
"version_value": "2.0.0ubuntu0.20.04.2"
},
{
"version_affected": "\u003c",
"version_name": "2.1.3ubuntu1",
"version_value": "2.1.3ubuntu1.1"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Kevin Backhouse"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;"
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 2,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-772 Missing Release of Resource after Effective Lifetime"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugs.launchpad.net/bugs/1899193",
"refsource": "MISC",
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"name": "https://usn.ubuntu.com/usn/usn-4668-1",
"refsource": "MISC",
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"refsource": "DEBIAN",
"url": "https://www.debian.org/security/2020/dsa-4809"
}
]
},
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4668-1",
"defect": [
"https://bugs.launchpad.net/bugs/1899193"
],
"discovery": "EXTERNAL"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2020-27351",
"datePublished": "2020-12-10T04:05:18.897719Z",
"dateReserved": "2020-10-20T00:00:00",
"dateUpdated": "2024-09-16T22:15:18.197Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2019-15795 (GCVE-0-2019-15795)
Vulnerability from nvd – Published: 2020-03-26 13:00 – Updated: 2024-09-16 19:45
VLAI?
Summary
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.
Severity ?
4.7 (Medium)
CWE
- CWE-327 - Use of a Broken or Risky Cryptographic Algorithm
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | Python-apt |
Affected:
0.8.3 , < 0.8.3ubuntu7.5
(custom)
Affected: 0.9.3.5 , < 0.9.3.5ubuntu3+esm2 (custom) Affected: 1.1.0 , < 1.1.0~beta1ubuntu0.16.04.7 (custom) Affected: 1.6.5 , < 1.6.5ubuntu0.1 (custom) Affected: 1.9.0 , < 1.9.0ubuntu1.2 (custom) |
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T00:56:22.746Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "Python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "0.8.3ubuntu7.5",
"status": "affected",
"version": "0.8.3",
"versionType": "custom"
},
{
"lessThan": "0.9.3.5ubuntu3+esm2",
"status": "affected",
"version": "0.9.3.5",
"versionType": "custom"
},
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.7",
"status": "affected",
"version": "1.1.0",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.1",
"status": "affected",
"version": "1.6.5",
"versionType": "custom"
},
{
"lessThan": "1.9.0ubuntu1.2",
"status": "affected",
"version": "1.9.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Julian Andres Klode"
}
],
"datePublic": "2019-08-06T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-327",
"description": "CWE-327 Use of a Broken or Risky Cryptographic Algorithm",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-03-26T13:00:21",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4247-1",
"defect": [
"https://bugs.launchpad.net/ubuntu/%2Bsource/python-apt/%2Bbug/1858972"
],
"discovery": "UNKNOWN"
},
"title": "python-apt uses MD5 for validation",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"AKA": "",
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2019-08-06T16:33:00.000Z",
"ID": "CVE-2019-15795",
"STATE": "PUBLIC",
"TITLE": "python-apt uses MD5 for validation"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Python-apt",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.8.3",
"version_value": "0.8.3ubuntu7.5"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.9.3.5",
"version_value": "0.9.3.5ubuntu3+esm2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.1.0",
"version_value": "1.1.0~beta1ubuntu0.16.04.7"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.6.5",
"version_value": "1.6.5ubuntu0.1"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.0",
"version_value": "1.9.0ubuntu1.2"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"configuration": [],
"credit": [
{
"lang": "eng",
"value": "Julian Andres Klode"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"exploit": [],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-327 Use of a Broken or Risky Cryptographic Algorithm"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-3/"
}
]
},
"solution": [],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4247-1",
"defect": [
"https://bugs.launchpad.net/ubuntu/%2Bsource/python-apt/%2Bbug/1858972"
],
"discovery": "UNKNOWN"
},
"work_around": []
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2019-15795",
"datePublished": "2020-03-26T13:00:21.299320Z",
"dateReserved": "2019-08-29T00:00:00",
"dateUpdated": "2024-09-16T19:45:50.191Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2019-15796 (GCVE-0-2019-15796)
Vulnerability from nvd – Published: 2020-03-26 13:00 – Updated: 2024-09-16 22:14
VLAI?
Summary
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.
Severity ?
4.7 (Medium)
CWE
- CWE-287 - Improper Authentication
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | Python-apt |
Affected:
0.8.3 , < 0.8.3ubuntu7.5
(custom)
Affected: 0.9.3.5 , < 0.9.3.5ubuntu3+esm2 (custom) Affected: 1.1.0 , < 1.1.0~beta1ubuntu0.16.04.7 (custom) Affected: 1.6.5 , < 1.6.5ubuntu0.1 (custom) Affected: 1.9.0 , < 1.9.0ubuntu1.2 (custom) Affected: 1.9.5 , < 1.9.5 (custom) |
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T00:56:22.408Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "Python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "0.8.3ubuntu7.5",
"status": "affected",
"version": "0.8.3",
"versionType": "custom"
},
{
"lessThan": "0.9.3.5ubuntu3+esm2",
"status": "affected",
"version": "0.9.3.5",
"versionType": "custom"
},
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.7",
"status": "affected",
"version": "1.1.0",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.1",
"status": "affected",
"version": "1.6.5",
"versionType": "custom"
},
{
"lessThan": "1.9.0ubuntu1.2",
"status": "affected",
"version": "1.9.0",
"versionType": "custom"
},
{
"lessThan": "1.9.5",
"status": "affected",
"version": "1.9.5",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Julian Andres Klode"
}
],
"datePublic": "2019-12-12T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "Python-apt doesn\u0027t 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\u0027t 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287 Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-03-26T13:00:21",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/4247-1/",
"defect": [
"https://bugs.launchpad.net/bugs/1858973"
],
"discovery": "UNKNOWN"
},
"title": "python-apt downloads from untrusted sources",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"AKA": "",
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2019-12-12T17:47:00.000Z",
"ID": "CVE-2019-15796",
"STATE": "PUBLIC",
"TITLE": "python-apt downloads from untrusted sources"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Python-apt",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.8.3",
"version_value": "0.8.3ubuntu7.5"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.9.3.5",
"version_value": "0.9.3.5ubuntu3+esm2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.1.0",
"version_value": "1.1.0~beta1ubuntu0.16.04.7"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.6.5",
"version_value": "1.6.5ubuntu0.1"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.0",
"version_value": "1.9.0ubuntu1.2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.5",
"version_value": "1.9.5"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"configuration": [],
"credit": [
{
"lang": "eng",
"value": "Julian Andres Klode"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Python-apt doesn\u0027t 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\u0027t 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."
}
]
},
"exploit": [],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-287 Improper Authentication"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-3/"
}
]
},
"solution": [],
"source": {
"advisory": "https://usn.ubuntu.com/4247-1/",
"defect": [
"https://bugs.launchpad.net/bugs/1858973"
],
"discovery": "UNKNOWN"
},
"work_around": []
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2019-15796",
"datePublished": "2020-03-26T13:00:21.745369Z",
"dateReserved": "2019-08-29T00:00:00",
"dateUpdated": "2024-09-16T22:14:45.095Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2025-6966 (GCVE-0-2025-6966)
Vulnerability from cvelistv5 – Published: 2025-12-05 12:59 – Updated: 2025-12-05 14:01
VLAI?
Summary
NULL pointer dereference in TagSection.keys() in python-apt on APT-based
Linux systems allows a local attacker to cause a denial of service
(process crash) via a crafted deb822 file with a malformed non-UTF-8 key.
Severity ?
CWE
- CWE-476 - NULL Pointer Dereference
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | python-apt |
Affected:
0
|
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-6966",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-12-05T14:01:32.250030Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-12-05T14:01:38.476Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://launchpad.net/ubuntu/+source/python-apt",
"defaultStatus": "unaffected",
"packageName": "python-apt",
"platforms": [
"Linux"
],
"product": "python-apt",
"vendor": "Canonical",
"versions": [
{
"status": "affected",
"version": "0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Julian Andres Klode"
}
],
"datePublic": "2025-12-05T12:00:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "NULL pointer dereference in \u003ccode\u003eTagSection.keys()\u003c/code\u003e in python-apt on APT-based \nLinux systems allows a local attacker to cause a denial of service \n(process crash) via a crafted deb822 file with a malformed non-UTF-8 key.\u003cbr\u003e"
}
],
"value": "NULL pointer dereference in TagSection.keys() in python-apt on APT-based \nLinux systems allows a local attacker to cause a denial of service \n(process crash) via a crafted deb822 file with a malformed non-UTF-8 key."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476 NULL Pointer Dereference",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-12-05T12:59:41.320Z",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"url": "https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "Null-pointer dereference in python-apt TagSection.keys()"
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2025-6966",
"datePublished": "2025-12-05T12:59:41.320Z",
"dateReserved": "2025-07-01T09:59:55.552Z",
"dateUpdated": "2025-12-05T14:01:38.476Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2020-27351 (GCVE-0-2020-27351)
Vulnerability from cvelistv5 – Published: 2020-12-10 04:05 – Updated: 2024-09-16 22:15
VLAI?
Summary
Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;
Severity ?
CWE
- CWE-772 - Missing Release of Resource after Effective Lifetime
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | python-apt |
Affected:
1.1.0~beta1 , < 1.1.0~beta1ubuntu0.16.04.10
(custom)
Affected: 1.6.5ubuntu0 , < 1.6.5ubuntu0.4 (custom) Affected: 2.0.0ubuntu0 , < 2.0.0ubuntu0.20.04.2 (custom) Affected: 2.1.3ubuntu1 , < 2.1.3ubuntu1.1 (custom) |
Credits
Kevin Backhouse
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T16:11:36.602Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
],
"url": "https://www.debian.org/security/2020/dsa-4809"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.10",
"status": "affected",
"version": "1.1.0~beta1",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.4",
"status": "affected",
"version": "1.6.5ubuntu0",
"versionType": "custom"
},
{
"lessThan": "2.0.0ubuntu0.20.04.2",
"status": "affected",
"version": "2.0.0ubuntu0",
"versionType": "custom"
},
{
"lessThan": "2.1.3ubuntu1.1",
"status": "affected",
"version": "2.1.3ubuntu1",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Kevin Backhouse"
}
],
"datePublic": "2020-12-09T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 2,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-772",
"description": "CWE-772 Missing Release of Resource after Effective Lifetime",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-12-10T11:06:07",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN"
],
"url": "https://www.debian.org/security/2020/dsa-4809"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4668-1",
"defect": [
"https://bugs.launchpad.net/bugs/1899193"
],
"discovery": "EXTERNAL"
},
"title": "Various memory and file descriptor leaks in apt-python",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2020-12-09T00:00:00.000Z",
"ID": "CVE-2020-27351",
"STATE": "PUBLIC",
"TITLE": "Various memory and file descriptor leaks in apt-python"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "python-apt",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "1.1.0~beta1",
"version_value": "1.1.0~beta1ubuntu0.16.04.10"
},
{
"version_affected": "\u003c",
"version_name": "1.6.5ubuntu0",
"version_value": "1.6.5ubuntu0.4"
},
{
"version_affected": "\u003c",
"version_name": "2.0.0ubuntu0",
"version_value": "2.0.0ubuntu0.20.04.2"
},
{
"version_affected": "\u003c",
"version_name": "2.1.3ubuntu1",
"version_value": "2.1.3ubuntu1.1"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Kevin Backhouse"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;"
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 2,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-772 Missing Release of Resource after Effective Lifetime"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugs.launchpad.net/bugs/1899193",
"refsource": "MISC",
"url": "https://bugs.launchpad.net/bugs/1899193"
},
{
"name": "https://usn.ubuntu.com/usn/usn-4668-1",
"refsource": "MISC",
"url": "https://usn.ubuntu.com/usn/usn-4668-1"
},
{
"name": "DSA-4809",
"refsource": "DEBIAN",
"url": "https://www.debian.org/security/2020/dsa-4809"
}
]
},
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4668-1",
"defect": [
"https://bugs.launchpad.net/bugs/1899193"
],
"discovery": "EXTERNAL"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2020-27351",
"datePublished": "2020-12-10T04:05:18.897719Z",
"dateReserved": "2020-10-20T00:00:00",
"dateUpdated": "2024-09-16T22:15:18.197Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2019-15795 (GCVE-0-2019-15795)
Vulnerability from cvelistv5 – Published: 2020-03-26 13:00 – Updated: 2024-09-16 19:45
VLAI?
Summary
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.
Severity ?
4.7 (Medium)
CWE
- CWE-327 - Use of a Broken or Risky Cryptographic Algorithm
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | Python-apt |
Affected:
0.8.3 , < 0.8.3ubuntu7.5
(custom)
Affected: 0.9.3.5 , < 0.9.3.5ubuntu3+esm2 (custom) Affected: 1.1.0 , < 1.1.0~beta1ubuntu0.16.04.7 (custom) Affected: 1.6.5 , < 1.6.5ubuntu0.1 (custom) Affected: 1.9.0 , < 1.9.0ubuntu1.2 (custom) |
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T00:56:22.746Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "Python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "0.8.3ubuntu7.5",
"status": "affected",
"version": "0.8.3",
"versionType": "custom"
},
{
"lessThan": "0.9.3.5ubuntu3+esm2",
"status": "affected",
"version": "0.9.3.5",
"versionType": "custom"
},
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.7",
"status": "affected",
"version": "1.1.0",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.1",
"status": "affected",
"version": "1.6.5",
"versionType": "custom"
},
{
"lessThan": "1.9.0ubuntu1.2",
"status": "affected",
"version": "1.9.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Julian Andres Klode"
}
],
"datePublic": "2019-08-06T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-327",
"description": "CWE-327 Use of a Broken or Risky Cryptographic Algorithm",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-03-26T13:00:21",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4247-1",
"defect": [
"https://bugs.launchpad.net/ubuntu/%2Bsource/python-apt/%2Bbug/1858972"
],
"discovery": "UNKNOWN"
},
"title": "python-apt uses MD5 for validation",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"AKA": "",
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2019-08-06T16:33:00.000Z",
"ID": "CVE-2019-15795",
"STATE": "PUBLIC",
"TITLE": "python-apt uses MD5 for validation"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Python-apt",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.8.3",
"version_value": "0.8.3ubuntu7.5"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.9.3.5",
"version_value": "0.9.3.5ubuntu3+esm2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.1.0",
"version_value": "1.1.0~beta1ubuntu0.16.04.7"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.6.5",
"version_value": "1.6.5ubuntu0.1"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.0",
"version_value": "1.9.0ubuntu1.2"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"configuration": [],
"credit": [
{
"lang": "eng",
"value": "Julian Andres Klode"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"exploit": [],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-327 Use of a Broken or Risky Cryptographic Algorithm"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-3/"
}
]
},
"solution": [],
"source": {
"advisory": "https://usn.ubuntu.com/usn/usn-4247-1",
"defect": [
"https://bugs.launchpad.net/ubuntu/%2Bsource/python-apt/%2Bbug/1858972"
],
"discovery": "UNKNOWN"
},
"work_around": []
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2019-15795",
"datePublished": "2020-03-26T13:00:21.299320Z",
"dateReserved": "2019-08-29T00:00:00",
"dateUpdated": "2024-09-16T19:45:50.191Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2019-15796 (GCVE-0-2019-15796)
Vulnerability from cvelistv5 – Published: 2020-03-26 13:00 – Updated: 2024-09-16 22:14
VLAI?
Summary
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.
Severity ?
4.7 (Medium)
CWE
- CWE-287 - Improper Authentication
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Canonical | Python-apt |
Affected:
0.8.3 , < 0.8.3ubuntu7.5
(custom)
Affected: 0.9.3.5 , < 0.9.3.5ubuntu3+esm2 (custom) Affected: 1.1.0 , < 1.1.0~beta1ubuntu0.16.04.7 (custom) Affected: 1.6.5 , < 1.6.5ubuntu0.1 (custom) Affected: 1.9.0 , < 1.9.0ubuntu1.2 (custom) Affected: 1.9.5 , < 1.9.5 (custom) |
Credits
Julian Andres Klode
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T00:56:22.408Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "Python-apt",
"vendor": "Canonical",
"versions": [
{
"lessThan": "0.8.3ubuntu7.5",
"status": "affected",
"version": "0.8.3",
"versionType": "custom"
},
{
"lessThan": "0.9.3.5ubuntu3+esm2",
"status": "affected",
"version": "0.9.3.5",
"versionType": "custom"
},
{
"lessThan": "1.1.0~beta1ubuntu0.16.04.7",
"status": "affected",
"version": "1.1.0",
"versionType": "custom"
},
{
"lessThan": "1.6.5ubuntu0.1",
"status": "affected",
"version": "1.6.5",
"versionType": "custom"
},
{
"lessThan": "1.9.0ubuntu1.2",
"status": "affected",
"version": "1.9.0",
"versionType": "custom"
},
{
"lessThan": "1.9.5",
"status": "affected",
"version": "1.9.5",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Julian Andres Klode"
}
],
"datePublic": "2019-12-12T00:00:00",
"descriptions": [
{
"lang": "en",
"value": "Python-apt doesn\u0027t 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\u0027t 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287 Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-03-26T13:00:21",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/4247-3/"
}
],
"source": {
"advisory": "https://usn.ubuntu.com/4247-1/",
"defect": [
"https://bugs.launchpad.net/bugs/1858973"
],
"discovery": "UNKNOWN"
},
"title": "python-apt downloads from untrusted sources",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"AKA": "",
"ASSIGNER": "security@ubuntu.com",
"DATE_PUBLIC": "2019-12-12T17:47:00.000Z",
"ID": "CVE-2019-15796",
"STATE": "PUBLIC",
"TITLE": "python-apt downloads from untrusted sources"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Python-apt",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.8.3",
"version_value": "0.8.3ubuntu7.5"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "0.9.3.5",
"version_value": "0.9.3.5ubuntu3+esm2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.1.0",
"version_value": "1.1.0~beta1ubuntu0.16.04.7"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.6.5",
"version_value": "1.6.5ubuntu0.1"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.0",
"version_value": "1.9.0ubuntu1.2"
},
{
"platform": "",
"version_affected": "\u003c",
"version_name": "1.9.5",
"version_value": "1.9.5"
}
]
}
}
]
},
"vendor_name": "Canonical"
}
]
}
},
"configuration": [],
"credit": [
{
"lang": "eng",
"value": "Julian Andres Klode"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Python-apt doesn\u0027t 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\u0027t 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."
}
]
},
"exploit": [],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-287 Improper Authentication"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-1/"
},
{
"name": "",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/4247-3/"
}
]
},
"solution": [],
"source": {
"advisory": "https://usn.ubuntu.com/4247-1/",
"defect": [
"https://bugs.launchpad.net/bugs/1858973"
],
"discovery": "UNKNOWN"
},
"work_around": []
}
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2019-15796",
"datePublished": "2020-03-26T13:00:21.745369Z",
"dateReserved": "2019-08-29T00:00:00",
"dateUpdated": "2024-09-16T22:14:45.095Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}