{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2021-22543 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-22543 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 26 May 2021. 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-2021-22543 and fix it if it is affected.\n\nWhat it is: CVE-2021-22543 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 26 May 2021. 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-2021-22543 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-22543/ (Markdown: https://insights.sbomify.com/CVE-2021-22543/index.md)","id":"CVE-2021-22543","markdown":"https://insights.sbomify.com/CVE-2021-22543/index.md","name":"CVE-2021-22543","record":{"aliases":["CLSA-2022-1659017902","CLSA-2022-1659018147","CLSA-2022-1669850228","CLSA-2022-1669919330","DEBIAN-CVE-2021-22543","RHSA-2021:3943","RHSA-2022:5640","UBUNTU-CVE-2021-22543"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux Kernel KVM","requires_auth":"low_privilege","summary":"Improper memory handling in Linux KVM allows local attackers to read/write random memory pages, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"linux_kernel","vendor":"linux"},{"product":"cloud_backup","vendor":"netapp"},{"product":"h300e_firmware","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500e_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700e_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"solidfire_baseboard_management_controller_firmware","vendor":"netapp"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L","version":"4.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"An issue was discovered in Linux: KVM through Improper handling of VM_IO|VM_PFNMAP vmas in KVM can bypass RO checks and can lead to pages being freed while still accessible by the VMM and guest. This allows users with the ability to start and control a VM to read/write random pages of memory and can result in local privilege escalation.","ecosystems":["Red Hat:enterprise_linux:7::hypervisor","Red Hat:rhel_els:6"],"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":"Improper memory handling in Linux KVM","id":"CVE-2021-22543","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","linux:linux_kernel","netapp:cloud_backup","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","netapp:solidfire_baseboard_management_controller_firmware"],"type":"memory_corruption","year":"2021"},"n_packages":21,"n_references":7,"next":{"headline":"Use-after-free in BinDiff","id":"CVE-2021-22545"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:4.3.19-20211013.0.el7_9"],"introduced":["0"],"last_affected":[],"package":"redhat-virtualization-host","purl":"pkg:rpm/redhat/redhat-virtualization-host","source":"RHSA-2021:3943"},{"ecosystem":"Red Hat:enterprise_linux:7::hypervisor","fixed":["0:4.3.19-20211013.0.el7_9"],"introduced":["0"],"last_affected":[],"package":"redhat-virtualization-host-image-update","purl":"pkg:rpm/redhat/redhat-virtualization-host-image-update","source":"RHSA-2021:3943"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-s390x","purl":"pkg:rpm/redhat/kernel-debuginfo-common-s390x","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump","purl":"pkg:rpm/redhat/kernel-kdump","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump-debuginfo","purl":"pkg:rpm/redhat/kernel-kdump-debuginfo","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-kdump-devel","purl":"pkg:rpm/redhat/kernel-kdump-devel","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf","purl":"pkg:rpm/redhat/python-perf","source":"RHSA-2022:5640"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:2.6.32-754.48.1.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf-debuginfo","purl":"pkg:rpm/redhat/python-perf-debuginfo","source":"RHSA-2022:5640"}],"prev":{"headline":"XSS in Dart SDK","id":"CVE-2021-22540"},"products":["Linux Kernel"],"published":"2021-05-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-09-16","vendors":["Linux Kernel"]},"summary":"Improper memory handling in Linux KVM allows local attackers to read/write random memory pages, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2021-22543/"}