{"answers":{"affected":"3 open source packages ship an affected version, including github.com/lf-edge/eve. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-43637 in the wild and no public exploit code.","fix":"Upgrade github.com/lf-edge/eve to 0.0.0-20220310190112-c0c966dc31e2 or later.","what":"CVE-2023-43637 is a high-severity vulnerability in EVE OS, published on 21 Sep 2023."},"fix_prompt":"Check this codebase for CVE-2023-43637 and fix it if it is affected.\n\nWhat it is: CVE-2023-43637 is a high-severity vulnerability in EVE OS, published on 21 Sep 2023. \nExploitation: There is no known exploitation of CVE-2023-43637 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20220310190112-c0c966dc31e2\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20220310190112-c0c966dc31e2\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20220310190112-c0c966dc31e2\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-43637/ (Markdown: https://insights.sbomify.com/CVE-2023-43637/index.md)","id":"CVE-2023-43637","markdown":"https://insights.sbomify.com/CVE-2023-43637/index.md","name":"CVE-2023-43637","record":{"aliases":["GHSA-g7vp-j25f-h34p","GO-2026-4436"],"analysis":null,"analysis_generated_by":null,"assigner":"ASRG","cpe":[{"product":"eve","vendor":"lfedge"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"Due to the implementation of \"deriveVaultKey\", prior to version 7.10, the generated vault key\nwould always have the last 16 bytes predetermined to be \"arfoobarfoobarfo\".\n\nThis issue happens because \"deriveVaultKey\" calls \"retrieveCloudKey\" (which will always\nreturn \"foobarfoobarfoobarfoobarfoobarfo\" as the key), and then merges the 32byte\nrandomly generated key with this key (by takeing 16bytes from each, see \"mergeKeys\").\n\nThis makes the key a lot weaker.\n\nThis issue does not persist in devices that were initialized on/after version 7.10, but devices\nthat were initialized before that and updated to a newer version still have this issue.\n\nRoll an update that enforces the full 32bytes key usage.","ecosystems":["Go"],"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":"Vault Key Partially Predetermined","id":"CVE-2023-43637","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"TaxonWorks SQL injection vulnerability","id":"CVE-2023-43640"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20220310190112-c0c966dc31e2"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":null,"source":"GHSA-g7vp-j25f-h34p"},{"ecosystem":"Go","fixed":["0.0.0-20220310190112-c0c966dc31e2"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GHSA-g7vp-j25f-h34p"},{"ecosystem":"Go","fixed":["0.0.0-20220310190112-c0c966dc31e2"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GO-2026-4436"}],"prev":{"headline":"Rootfs Not Protected","id":"CVE-2023-43636"},"products":["EVE OS"],"published":"2023-09-21","related":[{"cvss_score":8.8,"headline":"Debug Functions Unlockable Without Triggering Measured Boot","id":"CVE-2023-43633","kev_date_added":null,"published":"2023-09-21"},{"cvss_score":8.8,"headline":"Config Partition Not Protected by Measured Boot","id":"CVE-2023-43634","kev_date_added":null,"published":"2023-09-21"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-24","vendors":[" LF-Edge, Zededa"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-43637/"}