{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2011-2178 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2011-2178 is a medium-severity vulnerability in Redhat Libvirt, published on 10 Aug 2011. 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-2011-2178 and fix it if it is affected.\n\nWhat it is: CVE-2011-2178 is a medium-severity vulnerability in Redhat Libvirt, published on 10 Aug 2011. 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-2011-2178 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-2011-2178/ (Markdown: https://insights.sbomify.com/CVE-2011-2178/index.md)","id":"CVE-2011-2178","markdown":"https://insights.sbomify.com/CVE-2011-2178/index.md","name":"CVE-2011-2178","record":{"aliases":["DEBIAN-CVE-2011-2178","GHSA-5383-rqrv-fg4g"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Virtualization management library","requires_auth":"low_privilege","summary":"Guest OS users can read arbitrary host files due to a memory size calculation error in libvirt's security manager.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libvirt","vendor":"redhat"}],"cvss":{"score":4.4,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:S/C:C/I:N/A:N","version":"2.0"},"cwes":[],"description":"The virSecurityManagerGetPrivateData function in security/security_manager.c in libvirt 0.8.8 through 0.9.1 uses the wrong argument for a sizeof call, which causes incorrect processing of \"security manager private data\" that \"reopens disk probing\" and might allow guest OS users to read arbitrary files on the host OS.  NOTE: this vulnerability exists because of a CVE-2010-2238 regression.","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":"Information disclosure in n/a","id":"CVE-2011-2178","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:libvirt","products":["redhat:libvirt"],"type":"information_disclosure","year":"2011"},"n_packages":0,"n_references":8,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2011-2179"},"packages":[],"prev":{"headline":"Code injection in OpenOffice.org","id":"CVE-2011-2177"},"products":["n/a"],"published":"2011-08-10","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":"US public information, NVD API terms","name":"NVD"},{"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":"Guest OS users can read arbitrary host files due to a memory size calculation error in libvirt's security manager.","url":"https://insights.sbomify.com/CVE-2011-2178/"}