{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1586 exists.","fix":"Apply the vendor's patch.","what":"CVE-2012-1586 is a low-severity vulnerability in n/a, published on 27 Aug 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-1586 and fix it if it is affected.\n\nWhat it is: CVE-2012-1586 is a low-severity vulnerability in n/a, published on 27 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1586 exists.\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-1586/ (Markdown: https://insights.sbomify.com/CVE-2012-1586/index.md)","id":"CVE-2012-1586","markdown":"https://insights.sbomify.com/CVE-2012-1586/index.md","name":"CVE-2012-1586","record":{"aliases":["DEBIAN-CVE-2012-1586","GHSA-pm5w-chj8-22cj","RHSA-2012:0902"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux CIFS utilities","requires_auth":"low_privilege","summary":"Local attackers can determine the existence of arbitrary files or directories via error messages in mount.cifs.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cifs-utils","vendor":"debian"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"mount.cifs in cifs-utils 2.6 allows local users to determine the existence of arbitrary files or directories via the file path in the second argument, which reveals their existence in an error message.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"exploits":{"exploitdb":1,"first_seen":"2012-04-25","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-04-25","kind":"exploitdb","ref":"18783","stars":null,"title":"mount.cifs - 'chdir()' Arbitrary Root File Identification"}],"tier":"weaponised"},"has_fix":true,"headline":"Information disclosure in n/a","id":"CVE-2012-1586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2012"},"n_packages":8,"n_references":5,"next":{"headline":"Denial of service in n/a","id":"CVE-2012-1588"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils","purl":"pkg:rpm/redhat/cifs-utils","source":"RHSA-2012:0902"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:4.8.1-10.el6"],"introduced":["0"],"last_affected":[],"package":"cifs-utils-debuginfo","purl":"pkg:rpm/redhat/cifs-utils-debuginfo","source":"RHSA-2012:0902"}],"prev":{"headline":"OpenStack Nova Long server names grow nova-api log files significantly","id":"CVE-2012-1585"},"products":["n/a"],"published":"2012-08-27","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-2830","kev_date_added":null,"published":"2015-03-31"}],"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":"RHSA"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can determine the existence of arbitrary files or directories via error messages in mount.cifs.","url":"https://insights.sbomify.com/CVE-2012-1586/"}