{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-18899 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2019-18899 is a medium-severity vulnerability in Opensuse Backports, published on 23 Jan 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-2019-18899 and fix it if it is affected.\n\nWhat it is: CVE-2019-18899 is a medium-severity vulnerability in Opensuse Backports, published on 23 Jan 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-2019-18899 in the wild and no public exploit code.\n\nAffected product: Opensuse Backports. 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-2019-18899/ (Markdown: https://insights.sbomify.com/CVE-2019-18899/index.md)","id":"CVE-2019-18899","markdown":"https://insights.sbomify.com/CVE-2019-18899/index.md","name":"CVE-2019-18899","record":{"aliases":["GHSA-fv3j-23hh-g3xf"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"openSUSE Leap","requires_auth":"none","summary":"Local attackers can escalate privileges by exploiting root operations in a user-owned directory within the apt-cacher-ng package on openSUSE Leap.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"apt-cacher-ng","vendor":"apt-cacher-ng_project"},{"product":"backports","vendor":"opensuse"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"The apt-cacher-ng package of openSUSE Leap 15.1 runs operations in user owned directory /run/apt-cacher-ng with root privileges. This can allow local attackers to influence the outcome of these operations. This issue affects: openSUSE Leap 15.1 apt-cacher-ng versions prior to 3.1-lp151.3.3.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":"apt-cacher-ng insecure use of /run/apt-cacher-ng","id":"CVE-2019-18899","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"opensuse:backports","products":["opensuse:backports"],"type":"privilege_escalation","year":"2019"},"n_packages":0,"n_references":3,"next":{"headline":"libzypp stores cookies world readable","id":"CVE-2019-18900"},"packages":[],"prev":{"headline":"trousers: Local privilege escalation from tss to root","id":"CVE-2019-18898"},"products":["Leap 15.1"],"published":"2020-01-23","related":[{"cvss_score":6.1,"headline":"Other in n/a","id":"CVE-2017-7443","kev_date_added":null,"published":"2017-04-05"},{"cvss_score":5.5,"headline":"Information disclosure in n/a","id":"CVE-2020-5202","kev_date_added":null,"published":"2020-01-21"},{"cvss_score":5.1,"headline":"Reflected Cross-site scripting (XSS) vulnerability in Apt-Cacher-NG","id":"CVE-2025-11146","kev_date_added":null,"published":"2025-09-29"},{"cvss_score":5.1,"headline":"Reflected Cross-site scripting (XSS) vulnerability in Apt-Cacher-NG","id":"CVE-2025-11147","kev_date_added":null,"published":"2025-09-29"}],"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":["openSUSE"]},"summary":"Local attackers can escalate privileges by exploiting root operations in a user-owned directory within the apt-cacher-ng package on openSUSE Leap.","url":"https://insights.sbomify.com/CVE-2019-18899/"}