{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2013-6412 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2013-6412 is a medium-severity vulnerability in n/a, published on 23 Jan 2014. 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-2013-6412 and fix it if it is affected.\n\nWhat it is: CVE-2013-6412 is a medium-severity vulnerability in n/a, published on 23 Jan 2014. 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-2013-6412 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-2013-6412/ (Markdown: https://insights.sbomify.com/CVE-2013-6412/index.md)","id":"CVE-2013-6412","markdown":"https://insights.sbomify.com/CVE-2013-6412/index.md","name":"CVE-2013-6412","record":{"aliases":["DEBIAN-CVE-2013-6412","GHSA-92m6-rfw4-wpq6","RHSA-2014:0044"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Augeas configuration library","requires_auth":"low_privilege","summary":"Local attackers can modify files due to incorrect permission calculations when the umask contains a 7, affecting the Augeas configuration library.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"augeas","vendor":"augeas"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The transform_save function in transform.c in Augeas 1.0.0 through 1.1.0 does not properly calculate the permission values when the umask contains a \"7,\" which causes world-writable permissions to be used for new files and allows local users to modify the files via unspecified vectors.","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":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-2013-6412","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2013"},"n_packages":16,"n_references":4,"next":{"headline":"Use after free in n/a","id":"CVE-2013-6413"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas","purl":"pkg:rpm/redhat/augeas","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-debuginfo","purl":"pkg:rpm/redhat/augeas-debuginfo","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-devel","purl":"pkg:rpm/redhat/augeas-devel","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-libs","purl":"pkg:rpm/redhat/augeas-libs","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas","purl":"pkg:rpm/redhat/augeas","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-debuginfo","purl":"pkg:rpm/redhat/augeas-debuginfo","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-devel","purl":"pkg:rpm/redhat/augeas-devel","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-libs","purl":"pkg:rpm/redhat/augeas-libs","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas","purl":"pkg:rpm/redhat/augeas","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-debuginfo","purl":"pkg:rpm/redhat/augeas-debuginfo","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-devel","purl":"pkg:rpm/redhat/augeas-devel","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-libs","purl":"pkg:rpm/redhat/augeas-libs","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas","purl":"pkg:rpm/redhat/augeas","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-debuginfo","purl":"pkg:rpm/redhat/augeas-debuginfo","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-devel","purl":"pkg:rpm/redhat/augeas-devel","source":"RHSA-2014:0044"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.0.0-5.el6_5.1"],"introduced":["0"],"last_affected":[],"package":"augeas-libs","purl":"pkg:rpm/redhat/augeas-libs","source":"RHSA-2014:0044"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2013-6411"},"products":["n/a"],"published":"2014-01-23","related":[{"cvss_score":9.8,"headline":"Memory corruption in augeas","id":"CVE-2017-7555","kev_date_added":null,"published":"2017-08-17"},{"cvss_score":4.8,"headline":"Hercules Augeas fa.c re_case_expand null pointer dereference","id":"CVE-2025-2588","kev_date_added":null,"published":"2025-03-21"},{"cvss_score":3.7,"headline":"Race condition in n/a","id":"CVE-2012-0787","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":3.3,"headline":"Path traversal in n/a","id":"CVE-2012-0786","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":3.3,"headline":"Path traversal in n/a","id":"CVE-2012-6607","kev_date_added":null,"published":"2013-11-23"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can modify files due to incorrect permission calculations when the umask contains a 7, affecting the Augeas configuration library.","url":"https://insights.sbomify.com/CVE-2013-6412/"}