{"answers":{"affected":"2 open source packages ship an affected version, including buttercup. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41646 exists.","fix":"Upgrade buttercup to 7.4.0 or later.","what":"CVE-2023-41646 is a medium-severity vulnerability in n/a, published on 7 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-41646 and fix it if it is affected.\n\nWhat it is: CVE-2023-41646 is a medium-severity vulnerability in n/a, published on 7 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41646 exists.\n\nAffected packages and fixed versions:\n- buttercup (npm): affected from 2.20.3; fixed in 7.4.0\n- buttercup (npm): affected from 2.20.3; fixed in 7.4.0\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-2023-41646/ (Markdown: https://insights.sbomify.com/CVE-2023-41646/index.md)","id":"CVE-2023-41646","markdown":"https://insights.sbomify.com/CVE-2023-41646/index.md","name":"CVE-2023-41646","record":{"aliases":["GHSA-7cwq-p8cr-h9qg"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Buttercup password manager","requires_auth":"none","summary":"Attackers can obtain the master password hash by accessing a local file, potentially leading to credential compromise.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"buttercup","vendor":"perrymitchell"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-916","name":"Use of Password Hash With Insufficient Computational Effort"}],"description":"Buttercup v2.20.3 allows attackers to obtain the hash of the master password for the password manager via accessing the file /vaults.json/","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Buttercup allows attackers to obtain the hash of the master password","id":"CVE-2023-41646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"WordPress Login and Logout Redirect Plugin \u003c= 2.0.3 is vulnerable to Open Redirection","id":"CVE-2023-41648"},"packages":[{"ecosystem":"npm","fixed":["7.4.0"],"introduced":["2.20.3"],"last_affected":[],"package":"buttercup","purl":null,"source":"GHSA-7cwq-p8cr-h9qg"},{"ecosystem":"npm","fixed":["7.4.0"],"introduced":["2.20.3"],"last_affected":[],"package":"buttercup","purl":"pkg:npm/buttercup","source":"GHSA-7cwq-p8cr-h9qg"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-41642"},"products":["n/a"],"published":"2023-09-07","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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["n/a"]},"summary":"Attackers can obtain the master password hash by accessing a local file, potentially leading to credential compromise.","url":"https://insights.sbomify.com/CVE-2023-41646/"}