{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3710 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3710 is a medium-severity path traversal vulnerability in Canonical apport, published on 1 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3710 and fix it if it is affected.\n\nWhat it is: CVE-2021-3710 is a medium-severity path traversal vulnerability in Canonical apport, published on 1 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3710 in the wild and no public exploit code.\n\nAffected product: Canonical apport. 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-2021-3710/ (Markdown: https://insights.sbomify.com/CVE-2021-3710/index.md)","id":"CVE-2021-3710","markdown":"https://insights.sbomify.com/CVE-2021-3710/index.md","name":"CVE-2021-3710","record":{"aliases":["GHSA-f7hq-m55j-5752","UBUNTU-CVE-2021-3710"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ubuntu apport utility","requires_auth":"low_privilege","summary":"An attacker can exploit a path traversal flaw in the apport read_file function to disclose sensitive information on Ubuntu systems.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"apport","vendor":"canonical"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"An information disclosure via path traversal was discovered in apport/hookutils.py function read_file(). This issue affects: apport 2.14.1 versions prior to 2.14.1-0ubuntu3.29+esm8; 2.20.1 versions prior to 2.20.1-0ubuntu2.30+esm2; 2.20.9 versions prior to 2.20.9-0ubuntu7.26; 2.20.11 versions prior to 2.20.11-0ubuntu27.20; 2.20.11 versions prior to 2.20.11-0ubuntu65.3;","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":"Apport info disclosure via path traversal bug in read_file","id":"CVE-2021-3710","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"SM2 Decryption Buffer Overflow","id":"CVE-2021-3711"},"packages":[],"prev":{"headline":"Apport file permission bypass through emacs byte compilation errors","id":"CVE-2021-3709"},"products":["apport"],"published":"2021-10-01","related":[{"cvss_score":8.8,"headline":"apport improperly parses /proc/pid/status","id":"CVE-2021-25682","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":8.8,"headline":"apport improperly parses /proc/pid/stat","id":"CVE-2021-25683","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":8.8,"headline":"apport can be stalled by reading a FIFO","id":"CVE-2021-25684","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":7.8,"headline":"Race condition in Apport","id":"CVE-2021-3899","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":7.8,"headline":"Other in Apport","id":"CVE-2022-1242","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":7.7,"headline":"local privilege escalation in apport-cli","id":"CVE-2023-1326","kev_date_added":null,"published":"2023-04-13"},{"cvss_score":7.5,"headline":"Denial of service in Apport","id":"CVE-2022-28653","kev_date_added":null,"published":"2025-01-31"}],"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-17","vendors":["Canonical"]},"summary":"An attacker can exploit a path traversal flaw in the apport read_file function to disclose sensitive information on Ubuntu systems.","url":"https://insights.sbomify.com/CVE-2021-3710/"}