{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2022-27666 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-27666 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 23 Mar 2022. 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-2022-27666 and fix it if it is affected.\n\nWhat it is: CVE-2022-27666 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 23 Mar 2022. 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-2022-27666 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-2022-27666/ (Markdown: https://insights.sbomify.com/CVE-2022-27666/index.md)","id":"CVE-2022-27666","markdown":"https://insights.sbomify.com/CVE-2022-27666/index.md","name":"CVE-2022-27666","record":{"aliases":["A-227452856","AZL-13228","AZL-9120","CVE-2022-0886","DEBIAN-CVE-2022-27666","GHSA-5h7v-72v6-2r5w","PUB-A-227452856","RHSA-2022:4809","RHSA-2022:4924","RHSA-2022:4942","RHSA-2022:5219","SUSE-SU-2022:1182-1","SUSE-SU-2022:1192-1","SUSE-SU-2022:1215-1","SUSE-SU-2022:1230-1","SUSE-SU-2022:1248-1","SUSE-SU-2022:1261-1","SUSE-SU-2022:1268-1","SUSE-SU-2022:1303-1","UBUNTU-CVE-2022-27666","USN-5353-1","USN-5357-1","USN-5357-2"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel IPsec","requires_auth":"low_privilege","summary":"A local attacker can exploit a heap buffer overflow in the Linux kernel IPsec code to overwrite kernel memory and escalate privileges.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"linux_kernel","vendor":"linux"},{"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":"enterprise_linux","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.","ecosystems":["Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_eus:8.4::baseos","SUSE:Linux Enterprise Live Patching 12 SP4","SUSE:Linux Enterprise Live Patching 12 SP5","SUSE:Linux Enterprise Live Patching 15"],"exploits":{"exploitdb":0,"first_seen":"2022-03-23","github_poc":3,"max_poc_stars":207,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-23T22:54:28Z","kind":"github_poc","ref":"https://github.com/plummm/CVE-2022-27666","stars":207,"title":"Exploit for CVE-2022-27666"},{"date":"2023-04-11T00:12:33Z","kind":"github_poc","ref":"https://github.com/Albocoder/cve-2022-27666-exploits","stars":2,"title":"There are 2 exploitation methods that exploit CVE-2022-27666. For more info on how to use these code bases please check my blog."},{"date":"2026-04-30T03:05:26Z","kind":"github_poc","ref":"https://github.com/ngtuonghung/CVE-2022-27666","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2022-27666","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","linux:linux_kernel","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","redhat:enterprise_linux","redhat:virtualization"],"type":"memory_corruption","year":"2022"},"n_packages":110,"n_references":5,"next":{"headline":"Information disclosure in SAP BusinessObjects Business Intelligence Platform","id":"CVE-2022-27667"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1-1.el8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-372_9_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-372_9_1","source":"RHSA-2022:5219"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1-1.el8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-372_9_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-372_9_1-debuginfo","source":"RHSA-2022:5219"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1-1.el8"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-372_9_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-372_9_1-debugsource","source":"RHSA-2022:5219"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"bpftool","purl":"pkg:rpm/redhat/bpftool","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules","purl":"pkg:rpm/redhat/kernel-debug-modules","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-debug-modules-extra","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-ppc64le","purl":"pkg:rpm/redhat/kernel-debuginfo-common-ppc64le","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-modules","purl":"pkg:rpm/redhat/kernel-modules","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-extra","purl":"pkg:rpm/redhat/kernel-modules-extra","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-tools","purl":"pkg:rpm/redhat/kernel-tools","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-debuginfo","purl":"pkg:rpm/redhat/kernel-tools-debuginfo","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:4.18.0-147.67.1.el8_1"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-libs","purl":"pkg:rpm/redhat/kernel-tools-libs","source":"RHSA-2022:4924"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_1","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_1-debuginfo","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_1-debugsource","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-7.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_2","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_2","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-7.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_2-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_2-debuginfo","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-7.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_51_2-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_51_2-debugsource","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-6.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_52_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_52_1","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-6.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_52_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_52_1-debuginfo","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-6.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_52_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_52_1-debugsource","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_54_2","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_54_2","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_54_2-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_54_2-debuginfo","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_54_2-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_54_2-debugsource","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_56_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_56_1","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_56_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_56_1-debuginfo","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-5.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_56_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_56_1-debugsource","source":"RHSA-2022:4942"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:1-4.el8_1"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-147_57_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-147_57_1","source":"RHSA-2022:4942"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-27665"},"products":["n/a"],"published":"2022-03-23","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A local attacker can exploit a heap buffer overflow in the Linux kernel IPsec code to overwrite kernel memory and escalate privileges.","url":"https://insights.sbomify.com/CVE-2022-27666/"}