{"answers":{"affected":"3 open source packages ship an affected version, including github.com/lf-edge/eve/pkg/grub and github.com/lf-edge/eve. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-43636 in the wild and no public exploit code.","fix":"Upgrade github.com/lf-edge/eve/pkg/grub to 0.0.0-20220708121648-5fef4d92e758 or later.","what":"CVE-2023-43636 is a high-severity vulnerability in EVE OS, published on 20 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-43636 and fix it if it is affected.\n\nWhat it is: CVE-2023-43636 is a high-severity vulnerability in EVE OS, published on 20 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-43636 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/lf-edge/eve/pkg/grub (Go): affected all versions; fixed in 0.0.0-20220708121648-5fef4d92e758\n- github.com/lf-edge/eve/pkg/grub (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-43636/ (Markdown: https://insights.sbomify.com/CVE-2023-43636/index.md)","id":"CVE-2023-43636","markdown":"https://insights.sbomify.com/CVE-2023-43636/index.md","name":"CVE-2023-43636","record":{"aliases":["GHSA-5h7v-g49c-h887","GO-2026-4435"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"EVE OS","requires_auth":"low_privilege","summary":"Attackers can modify the root filesystem to gain full control and access encrypted vault data without triggering measured boot checks.","user_interaction":"not_required","vuln_class":"security_feature_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-345","name":"Insufficient Verification of Data Authenticity"}],"description":"In EVE OS, the “measured boot” mechanism prevents a compromised device from accessing\nthe encrypted data located in the vault.\n\nAs per the “measured boot” design, the PCR values calculated at different stages of the boot\nprocess will change if any of their respective parts are changed.\n\nThis includes, among other things, the configuration of the bios, grub, the kernel cmdline,\ninitrd, and more.\n\nHowever, this mechanism does not validate the entire rootfs, so an attacker can edit the\nfilesystem and gain control over the system.\n\nAs the default filesystem used by EVE OS is squashfs, this is somewhat harder than an ext4,\nwhich is easily changeable.\n\nThis will not stop an attacker, as an attacker can repackage the squashfs with their changes\nin it and replace the partition altogether.\n\nThis can also be done directly on the device, as the “003-storage-init” container contains the\n“mksquashfs” and “unsquashfs” binaries (with the corresponding libs).\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":"Rootfs Not Protected","id":"CVE-2023-43636","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Vault Key Partially Predetermined","id":"CVE-2023-43637"},"packages":[{"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-4435"},{"ecosystem":"Go","fixed":["0.0.0-20220708121648-5fef4d92e758"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve/pkg/grub","purl":null,"source":"GHSA-5h7v-g49c-h887"},{"ecosystem":"Go","fixed":["0.0.0-20220708121648-5fef4d92e758"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve/pkg/grub","purl":"pkg:golang/github.com/lf-edge/eve/pkg/grub","source":"GHSA-5h7v-g49c-h887"}],"prev":{"headline":"Vault Key Sealed With SHA1 PCRs","id":"CVE-2023-43635"},"products":["EVE OS"],"published":"2023-09-20","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":"SSH as Root Unlockable Without Triggering Measured Boot","id":"CVE-2023-43631","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"}],"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 modify the root filesystem to gain full control and access encrypted vault data without triggering measured boot checks.","url":"https://insights.sbomify.com/CVE-2023-43636/"}