{"answers":{"affected":"2 open source packages ship an affected version, including cap-strap. It affects 1 product.","exploited":"There is no known exploitation of CVE-2014-4992 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2014-4992 yet. Limit exposure of the affected software until one is available.","what":"CVE-2014-4992 is a high-severity vulnerability in n/a, published on 10 Jan 2018. 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-2014-4992 and fix it if it is affected.\n\nWhat it is: CVE-2014-4992 is a high-severity vulnerability in n/a, published on 10 Jan 2018. 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-2014-4992 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cap-strap (RubyGems): affected all versions; no fix listed\n- cap-strap (RubyGems): affected all versions; no fix listed\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-2014-4992/ (Markdown: https://insights.sbomify.com/CVE-2014-4992/index.md)","id":"CVE-2014-4992","markdown":"https://insights.sbomify.com/CVE-2014-4992/index.md","name":"CVE-2014-4992","record":{"aliases":["GHSA-pcm6-g2qp-9gw8"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ruby gem","requires_auth":"low_privilege","summary":"Local attackers can read sensitive credentials from process listings due to insecure command-line argument handling in the cap-strap Ruby gem.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cap-strap","vendor":"cap-strap_project"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"lib/cap-strap/helpers.rb in the cap-strap gem 0.1.5 for Ruby places credentials on the useradd command line, which allows local users to obtain sensitive information by listing the process.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cap-Strap gem for Ruby places credentials on the useradd command line","id":"CVE-2014-4992","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"information_disclosure","year":"2014"},"n_packages":2,"n_references":3,"next":{"headline":"backup-agoddard and backup_checksum have Information Exposure vulnerability","id":"CVE-2014-4993"},"packages":[{"ecosystem":"RubyGems","fixed":[],"introduced":[],"last_affected":[],"package":"cap-strap","purl":null,"source":"GHSA-pcm6-g2qp-9gw8"},{"ecosystem":"RubyGems","fixed":[],"introduced":[],"last_affected":[],"package":"cap-strap","purl":"pkg:gem/cap-strap","source":"GHSA-pcm6-g2qp-9gw8"}],"prev":{"headline":"codders-dataset Process Table Local Plaintext Credential Disclosure","id":"CVE-2014-4991"},"products":["n/a"],"published":"2018-01-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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 read sensitive credentials from process listings due to insecure command-line argument handling in the cap-strap Ruby gem.","url":"https://insights.sbomify.com/CVE-2014-4992/"}