CVE-2022-27666 Memory corruption in n/a
A local attacker can exploit a heap buffer overflow in the Linux kernel IPsec code to overwrite kernel memory and escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-27666?
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.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2022-27666?
It affects 13 products.
Linux distribution packages (40)
kpatch-patch-4_18_0-372_9_1 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
kpatch-patch-4_18_0-372_9_1-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
kpatch-patch-4_18_0-372_9_1-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
bpftool Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
bpftool-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-abi-whitelists Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-core Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug-core Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug-devel Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug-modules Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debug-modules-extra Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debuginfo-common-ppc64le Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-devel Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-doc Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-modules Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-modules-extra Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-tools Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-tools-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kernel-tools-libs Red Hat:rhel_e4s:8.1::baseos | All versions | 0:4.18.0-147.67.1.el8_1 |
kpatch-patch-4_18_0-147_51_1 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-8.el8_1 |
kpatch-patch-4_18_0-147_51_1-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-8.el8_1 |
kpatch-patch-4_18_0-147_51_1-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-8.el8_1 |
kpatch-patch-4_18_0-147_51_2 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-7.el8_1 |
kpatch-patch-4_18_0-147_51_2-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-7.el8_1 |
kpatch-patch-4_18_0-147_51_2-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-7.el8_1 |
kpatch-patch-4_18_0-147_52_1 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-6.el8_1 |
kpatch-patch-4_18_0-147_52_1-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-6.el8_1 |
kpatch-patch-4_18_0-147_52_1-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-6.el8_1 |
kpatch-patch-4_18_0-147_54_2 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_54_2-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_54_2-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_56_1 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_56_1-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_56_1-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-5.el8_1 |
kpatch-patch-4_18_0-147_57_1 Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1-4.el8_1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware and 7 more.
How do I fix CVE-2022-27666?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-27666 being exploited?
There is no known exploitation of CVE-2022-27666 in the wild and no public exploit code.
Public exploit code: 3 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as A-227452856, AZL-13228, AZL-9120, CVE-2022-0886, DEBIAN-CVE-2022-27666, GHSA-5h7v-72v6-2r5w and 17 more.