{"answers":{"affected":"3 open source packages ship an affected version, including aptdaemon. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15703 in the wild and no public exploit code.","fix":"Upgrade aptdaemon to 1.1.1 or later.","what":"CVE-2020-15703 is a medium-severity path traversal vulnerability in Canonical aptdaemon, published on 31 Oct 2020. 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-2020-15703 and fix it if it is affected.\n\nWhat it is: CVE-2020-15703 is a medium-severity path traversal vulnerability in Canonical aptdaemon, published on 31 Oct 2020. 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-2020-15703 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aptdaemon (PyPI): affected all versions; fixed in 1.1.1\n- aptdaemon (PyPI): affected all versions; fixed in 1.1.1\n- aptdaemon (PyPI): affected all versions; fixed in 1.1.1\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-15703/ (Markdown: https://insights.sbomify.com/CVE-2020-15703/index.md)","id":"CVE-2020-15703","markdown":"https://insights.sbomify.com/CVE-2020-15703/index.md","name":"CVE-2020-15703","record":{"aliases":["GHSA-wpmr-q825-x4c6","PYSEC-2026-783","UBUNTU-CVE-2020-15703","USN-4537-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ubuntu package manager","requires_auth":"none","summary":"Unprivileged users can determine the existence of arbitrary files on the system by exploiting a lack of input validation in aptdaemon's Locale property.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"aptdaemon","vendor":"aptdaemon_project"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"There is no input validation on the Locale property in an apt transaction. An unprivileged user can supply a full path to a writable directory, which lets aptd read a file as root. Having a symlink in place results in an error message if the file exists, and no error otherwise. This way an unprivileged user can check for the existence of any files on the system as root.","ecosystems":["PyPI"],"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":"aptdaemon allows unprivileged users to test for the presence of local files via the transaction Locale property","id":"CVE-2020-15703","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":3,"n_references":2,"next":{"headline":"pppd arbitrary file read information disclosure vulnerability","id":"CVE-2020-15704"},"packages":[{"ecosystem":"PyPI","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"aptdaemon","purl":null,"source":"GHSA-wpmr-q825-x4c6"},{"ecosystem":"PyPI","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"aptdaemon","purl":"pkg:pypi/aptdaemon","source":"GHSA-wpmr-q825-x4c6"},{"ecosystem":"PyPI","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"aptdaemon","purl":"pkg:pypi/aptdaemon","source":"PYSEC-2026-783"}],"prev":{"headline":"TOCTOU in apport","id":"CVE-2020-15702"},"products":["aptdaemon"],"published":"2020-10-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"Unprivileged users can determine the existence of arbitrary files on the system by exploiting a lack of input validation in aptdaemon's Locale property.","url":"https://insights.sbomify.com/CVE-2020-15703/"}