{"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-43631 in the wild and no public exploit code.","fix":"Upgrade github.com/lf-edge/eve to 0.0.0-20220708121648-5fef4d92e758 or later.","what":"CVE-2023-43631 is a high-severity authentication bypass vulnerability in EVE OS, published on 21 Sep 2023. 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-2023-43631 and fix it if it is affected.\n\nWhat it is: CVE-2023-43631 is a high-severity authentication bypass vulnerability in EVE OS, published on 21 Sep 2023. 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-2023-43631 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-20220708121648-5fef4d92e758\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20220708121648-5fef4d92e758\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20220708121648-5fef4d92e758\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-43631/ (Markdown: https://insights.sbomify.com/CVE-2023-43631/index.md)","id":"CVE-2023-43631","markdown":"https://insights.sbomify.com/CVE-2023-43631/index.md","name":"CVE-2023-43631","record":{"aliases":["GHSA-3mq9-xhgq-r7gj","GO-2026-4418"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"EVE OS","requires_auth":"low_privilege","summary":"Attackers can gain root SSH access by modifying an unprotected config file, bypassing measured boot integrity checks on EVE OS devices.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ASRG","cpe":[{"product":"edge_virtualization_engine","vendor":"linuxfoundation"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"On boot, the Pillar eve container checks for the existence and content of\n“/config/authorized_keys”.\n\nIf the file is present, and contains a supported public key, the container will go on to open\nport 22 and enable sshd with the given keys as the authorized keys for root login.\n\nAn attacker could easily add their own keys and gain full control over the system without\ntriggering the “measured boot” mechanism implemented by EVE OS, and without marking\nthe device as “UUD” (“Unknown Update Detected”).\n\nThis is because the “/config” partition is not protected by “measured boot”, it is mutable, and\nit is not encrypted in any way.\n\nAn attacker can gain full control over the device without changing the PCR values, thus not\ntriggering the “measured boot” mechanism, and having full access to the vault.\n\nNote:\n\nThis issue was partially fixed in these commits (after disclosure to Zededa), where the config\npartition measurement was added to PCR13:\n\n• aa3501d6c57206ced222c33aea15a9169d629141\n\n• 5fef4d92e75838cc78010edaed5247dfbdae1889.\n\nThis issue was made viable in version 9.0.0 when the calculation was moved to PCR14 but it was not included in the measured boot.","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":"SSH as Root Unlockable Without Triggering Measured Boot","id":"CVE-2023-43631","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Freely Allocate Buffer on The Stack With Data From Socket","id":"CVE-2023-43632"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20220708121648-5fef4d92e758"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":null,"source":"GHSA-3mq9-xhgq-r7gj"},{"ecosystem":"Go","fixed":["0.0.0-20220708121648-5fef4d92e758"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GHSA-3mq9-xhgq-r7gj"},{"ecosystem":"Go","fixed":["0.0.0-20220708121648-5fef4d92e758"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GO-2026-4418"}],"prev":{"headline":"Config Partition Not Measured From 2 Fronts","id":"CVE-2023-43630"},"products":["EVE OS"],"published":"2023-09-21","related":[{"cvss_score":9,"headline":"Freely Allocate Buffer on The Stack With Data From Socket","id":"CVE-2023-43632","kev_date_added":null,"published":"2023-09-21"},{"cvss_score":8.8,"headline":"Config Partition Not Measured From 2 Fronts","id":"CVE-2023-43630","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":8.8,"headline":"Vault Key Sealed With SHA1 PCRs","id":"CVE-2023-43635","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":8.8,"headline":"Rootfs Not Protected","id":"CVE-2023-43636","kev_date_added":null,"published":"2023-09-20"}],"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":"Attackers can gain root SSH access by modifying an unprotected config file, bypassing measured boot integrity checks on EVE OS devices.","url":"https://insights.sbomify.com/CVE-2023-43631/"}