{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-5313 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2015-5313 is a low-severity path traversal vulnerability in Redhat Libvirt, published on 11 Apr 2016. 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-2015-5313 and fix it if it is affected.\n\nWhat it is: CVE-2015-5313 is a low-severity path traversal vulnerability in Redhat Libvirt, published on 11 Apr 2016. 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-2015-5313 in the wild and no public exploit code.\n\nAffected product: Redhat Libvirt. 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-2015-5313/ (Markdown: https://insights.sbomify.com/CVE-2015-5313/index.md)","id":"CVE-2015-5313","markdown":"https://insights.sbomify.com/CVE-2015-5313/index.md","name":"CVE-2015-5313","record":{"aliases":["DEBIAN-CVE-2015-5313","GHSA-qr2q-8mvm-hxvr","MGASA-2016-0103","SUSE-SU-2016:0923-1","SUSE-SU-2016:0931-1","UBUNTU-CVE-2015-5313"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"libvirt virtualization","requires_auth":"low_privilege","summary":"Local users with specific storage permissions can write to arbitrary files via directory traversal in libvirt when fine-grained ACLs are enabled.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libvirt","vendor":"redhat"}],"cvss":{"score":2.5,"severity":"low","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.","ecosystems":["SUSE:Linux Enterprise Desktop 11 SP4","SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP1","SUSE:Linux Enterprise Workstation Extension 12 SP1"],"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":"Path traversal in n/a","id":"CVE-2015-5313","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:libvirt","products":["redhat:libvirt"],"type":"path_traversal","year":"2015"},"n_packages":9,"n_references":7,"next":{"headline":"Denial of service in n/a","id":"CVE-2015-5314"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Desktop 11 SP4","fixed":["1.2.5-12.3"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4","source":"SUSE-SU-2016:0931-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","fixed":["1.2.18.2-8.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1","source":"SUSE-SU-2016:0923-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["1.2.5-12.3"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2016:0931-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","fixed":["1.2.18.2-8.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1","source":"SUSE-SU-2016:0923-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["1.2.5-12.3"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2016:0931-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["1.2.18.2-8.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2016:0923-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["1.2.5-12.3"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2016:0931-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","fixed":["1.2.18.2-8.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1","source":"SUSE-SU-2016:0923-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP1","fixed":["1.2.18.2-8.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/suse/libvirt\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP1","source":"SUSE-SU-2016:0923-1"}],"prev":{"headline":"Nokogiri subject to DoS via libxml2 vulnerability","id":"CVE-2015-5312"},"products":["n/a"],"published":"2016-04-11","related":[{"cvss_score":8.5,"headline":"Missing authorization in n/a","id":"CVE-2013-4401","kev_date_added":null,"published":"2013-11-02"},{"cvss_score":7.7,"headline":"Null dereference in libvirt","id":"CVE-2017-2635","kev_date_added":null,"published":"2018-08-22"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2013-4400","kev_date_added":null,"published":"2013-12-09"},{"cvss_score":6.9,"headline":"Privilege escalation in n/a","id":"CVE-2013-4291","kev_date_added":null,"published":"2013-09-30"},{"cvss_score":6.9,"headline":"Missing authorization in n/a","id":"CVE-2011-1146","kev_date_added":null,"published":"2011-03-15"},{"cvss_score":6.8,"headline":"Race condition in n/a","id":"CVE-2013-6458","kev_date_added":null,"published":"2014-01-24"},{"cvss_score":6.5,"headline":"Missing authorization in libvirt","id":"CVE-2020-10701","kev_date_added":null,"published":"2021-05-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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-08-06","vendors":["n/a"]},"summary":"Local users with specific storage permissions can write to arbitrary files via directory traversal in libvirt when fine-grained ACLs are enabled.","url":"https://insights.sbomify.com/CVE-2015-5313/"}