{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-5638 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2012-5638 is a low-severity vulnerability in n/a, published on 20 Dec 2012. 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-2012-5638 and fix it if it is affected.\n\nWhat it is: CVE-2012-5638 is a low-severity vulnerability in n/a, published on 20 Dec 2012. 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-2012-5638 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2012-5638/ (Markdown: https://insights.sbomify.com/CVE-2012-5638/index.md)","id":"CVE-2012-5638","markdown":"https://insights.sbomify.com/CVE-2012-5638/index.md","name":"CVE-2012-5638","record":{"aliases":["DEBIAN-CVE-2012-5638","GHSA-48rw-xq3g-hfw6","RHBA-2012:1507"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux system utility","requires_auth":"low_privilege","summary":"Local attackers can overwrite SANLock logs or bypass disk quotas due to world-writable log file permissions.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"sanlock","vendor":"ovirt"}],"cvss":{"score":3.6,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The setup_logging function in log.h in SANLock uses world-writable permissions for /var/log/sanlock.log, which allows local users to overwrite the file content or bypass intended disk-quota restrictions via standard filesystem write operations.","ecosystems":["Red Hat:enterprise_linux:6::hypervisor"],"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":"Misconfiguration in n/a","id":"CVE-2012-5638","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2012"},"n_packages":5,"n_references":2,"next":{"headline":"Other in LibreOffice, OpenOffice","id":"CVE-2012-5639"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::hypervisor","fixed":["0:2.3-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"sanlock","purl":"pkg:rpm/redhat/sanlock","source":"RHBA-2012:1507"},{"ecosystem":"Red Hat:enterprise_linux:6::hypervisor","fixed":["0:2.3-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"sanlock-debuginfo","purl":"pkg:rpm/redhat/sanlock-debuginfo","source":"RHBA-2012:1507"},{"ecosystem":"Red Hat:enterprise_linux:6::hypervisor","fixed":["0:2.3-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"sanlock-devel","purl":"pkg:rpm/redhat/sanlock-devel","source":"RHBA-2012:1507"},{"ecosystem":"Red Hat:enterprise_linux:6::hypervisor","fixed":["0:2.3-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"sanlock-lib","purl":"pkg:rpm/redhat/sanlock-lib","source":"RHBA-2012:1507"},{"ecosystem":"Red Hat:enterprise_linux:6::hypervisor","fixed":["0:2.3-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"sanlock-python","purl":"pkg:rpm/redhat/sanlock-python","source":"RHBA-2012:1507"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-5636"},"products":["n/a"],"published":"2012-12-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"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 attackers can overwrite SANLock logs or bypass disk quotas due to world-writable log file permissions.","url":"https://insights.sbomify.com/CVE-2012-5638/"}