{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-27351 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2020-27351 is a low-severity denial of service vulnerability in Canonical python-apt, published on 10 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-27351 and fix it if it is affected.\n\nWhat it is: CVE-2020-27351 is a low-severity denial of service vulnerability in Canonical python-apt, published on 10 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-27351 in the wild and no public exploit code.\n\nAffected product: Canonical python-apt. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-27351/ (Markdown: https://insights.sbomify.com/CVE-2020-27351/index.md)","id":"CVE-2020-27351","markdown":"https://insights.sbomify.com/CVE-2020-27351/index.md","name":"CVE-2020-27351","record":{"aliases":["DEBIAN-CVE-2020-27351","DLA-2488-1","DSA-4809-1","GHSA-mfw3-hgv3-pg44","UBUNTU-CVE-2020-27351","USN-4668-1","USN-4668-4"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python APT library","requires_auth":"high_privilege","summary":"Memory and file descriptor leaks in python-apt allow attackers to cause denial of service by exhausting system resources.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"advanced_package_tool","vendor":"debian"}],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-772","name":"Missing Release of Resource after Effective Lifetime"}],"description":"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;","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Various memory and file descriptor leaks in apt-python","id":"CVE-2020-27351","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2020"},"n_packages":0,"n_references":3,"next":{"headline":"Privilege escalation in snapd","id":"CVE-2020-27352"},"packages":[],"prev":{"headline":"apt integer wraparound","id":"CVE-2020-27350"},"products":["python-apt"],"published":"2020-12-10","related":[{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2009-1358","kev_date_added":null,"published":"2009-04-21"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2009-1300","kev_date_added":null,"published":"2009-04-16"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-0487","kev_date_added":null,"published":"2014-11-03"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2014-0489","kev_date_added":null,"published":"2014-11-03"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2014-0490","kev_date_added":null,"published":"2014-11-03"},{"cvss_score":6.8,"headline":"Other in n/a","id":"CVE-2014-0488","kev_date_added":null,"published":"2014-11-03"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2014-6273","kev_date_added":null,"published":"2014-09-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Canonical"]},"summary":"Memory and file descriptor leaks in python-apt allow attackers to cause denial of service by exhausting system resources.","url":"https://insights.sbomify.com/CVE-2020-27351/"}