CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 5.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2022-27666 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-27666?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-27666?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-27666 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | from 4.11 before 4.14.274 |
| linux:linux_kernel | from 4.15 before 4.19.237 |
| linux:linux_kernel | from 4.20 before 5.4.188 |
| linux:linux_kernel | from 5.5 before 5.10.108 |
| linux:linux_kernel | from 5.11 before 5.15.29 |
| linux:linux_kernel | from 5.16 before 5.16.15 |
| linux:linux_kernel | 5.17:rc1 |
| linux:linux_kernel | 5.17:rc2 |
| linux:linux_kernel | 5.17:rc3 |
| linux:linux_kernel | 5.17:rc4 |
| linux:linux_kernel | 5.17:rc5 |
| linux:linux_kernel | 5.17:rc6 |
| linux:linux_kernel | 5.17:rc7 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| redhat:virtualization | 4.0 |
| redhat:enterprise_linux | 8.0 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | linux | 4.19.249-2 | DSA-5173-1 |
| Debian | 11 | linux | 5.10.113-1 | DSA-5127-1 |
| Debian | 12, 13, 14 | linux | 5.16.18-1 | DEBIAN-CVE-2022-27666 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2022-27666 |
| Ubuntu | 18.04:LTS | linux | 4.15.0-175.184 | UBUNTU-CVE-2022-27666 USN-5357-1 |
| Ubuntu | 18.04:LTS | linux-aws | 4.15.0-1126.135 | UBUNTU-CVE-2022-27666 USN-5357-1 |
| Ubuntu | 18.04:LTS | linux-aws-5.4 | 5.4.0-1071.76~18.04.1 | UBUNTU-CVE-2022-27666 USN-5358-2 |
| Ubuntu | 18.04:LTS | linux-azure-4.15 | 4.15.0-1136.149 | UBUNTU-CVE-2022-27666 USN-5357-1 |
| Ubuntu | 18.04:LTS | linux-azure-5.4 | 5.4.0-1074.77~18.04.1 | UBUNTU-CVE-2022-27666 USN-5358-2 |
| Ubuntu | 18.04:LTS | linux-dell300x | 4.15.0-1040.45 | UBUNTU-CVE-2022-27666 USN-5357-1 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 10 more | no fix listed | UBUNTU-CVE-2022-27666 |
| Ubuntu | 18.04:LTS | linux-gcp-4.15 | 4.15.0-1120.134 | UBUNTU-CVE-2022-27666 USN-5357-2 |
| Ubuntu | 18.04:LTS | linux-gcp-5.4 | 5.4.0-1069.73~18.04.1 | UBUNTU-CVE-2022-27666 USN-5358-2 |
| Ubuntu | 18.04:LTS | linux-gke-5.4 | 5.4.0-1067.70~18.04.1 | UBUNTU-CVE-2022-27666 USN-5358-2 |
| Ubuntu | 18.04:LTS | linux-gkeop-5.4 | 5.4.0-1038.39~18.04.1 | UBUNTU-CVE-2022-27666 USN-5358-2 |
| 47 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::baseos | kpatch-patch-4_18_0-372_9_1, kpatch-patch-4_18_0-372_9_1-debuginfo, kpatch-patch-4_18_0-372_9_1-debugsource | 0:1-1.el8 | RHSA-2022:5219 |
| Red Hat | enterprise_linux:8::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-372.13.1.el8_6 | RHSA-2022:5316 |
| Red Hat | enterprise_linux:8::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-372.13.1.el8_6 | RHSA-2022:5316 |
| Red Hat | enterprise_linux:8::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-372.13.1.rt7.170.el8_6 | RHSA-2022:5344 |
| Red Hat | enterprise_linux:8::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-372.13.1.rt7.170.el8_6 | RHSA-2022:5344 |
| Red Hat | enterprise_linux:9::appstream | perf, kernel-doc, kernel-devel and 16 more | 0:5.14.0-70.17.1.el9_0 | RHSA-2022:5249 |
| Red Hat | enterprise_linux:9::baseos | kernel, bpftool, kernel-core and 25 more | 0:5.14.0-70.17.1.el9_0 | RHSA-2022:5249 |
| Red Hat | enterprise_linux:9::baseos | kpatch-patch-5_14_0-70_13_1, kpatch-patch-5_14_0-70_13_1-debuginfo, kpatch-patch-5_14_0-70_13_1-debugsource | 0:1-1.el9_0 | RHSA-2022:5214 |
| Red Hat | enterprise_linux:9::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more | 0:5.14.0-70.17.1.el9_0 | RHSA-2022:5249 |
| Red Hat | enterprise_linux:9::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:5.14.0-70.17.1.rt21.89.el9_0 | RHSA-2022:5267 |
| Red Hat | enterprise_linux:9::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:5.14.0-70.17.1.rt21.89.el9_0 | RHSA-2022:5267 |
| Red Hat | rhel_e4s:8.1::baseos | kpatch-patch-4_18_0-147_51_1, kpatch-patch-4_18_0-147_51_1-debuginfo, kpatch-patch-4_18_0-147_51_1-debugsource | 0:1-8.el8_1 | RHSA-2022:4942 |
| 35 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 more | kernel-default-base | 5.3.18-150200.24.112.1.150200.9.52.2 | SUSE-SU-2022:1197-1 |
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 more | kernel-docs, kernel-syms, kernel-source and 3 more | 5.3.18-150200.24.112.1 | SUSE-SU-2022:1197-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4 | kernel-default | 4.12.14-95.96.1 | SUSE-SU-2022:1267-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5 | kernel-default | 4.12.14-122.116.1 | SUSE-SU-2022:1196-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 | kernel-default | 5.3.18-150200.24.112.1 | SUSE-SU-2022:1197-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 more | kernel-default | 5.3.18-150300.59.63.1 | SUSE-SU-2022:1183-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_20 | 14-2.2 | SUSE-SU-2022:1303-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_21 | 13-2.1 | SUSE-SU-2022:1182-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_22 | 11-2.1 | SUSE-SU-2022:1182-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_23 | 6-2.1 | SUSE-SU-2022:1182-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_24 | 3-2.1 | SUSE-SU-2022:1248-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_25 | 2-2.1 | SUSE-SU-2022:1268-1 |
| 66 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | dtb-aarch64, kernel-64kb, kernel-docs and 9 more | 5.3.18-150300.59.63.1 | SUSE-SU-2022:1183-1 |
| openSUSE | Leap 15.3 | kernel-azure, kernel-syms-azure, kernel-source-azure | 5.3.18-150300.38.53.1 | SUSE-SU-2022:1163-1 |
| openSUSE | Leap 15.3 | kernel-default-base | 5.3.18-150300.59.63.1.150300.18.39.1 | SUSE-SU-2022:1183-1 |
| AlmaLinux | 8 | kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more | 4.18.0-372.13.1.rt7.170.el8_6 | ALSA-2022:5344 |
| AlmaLinux | 8 | perf, kernel, bpftool and 16 more | 4.18.0-372.13.1.el8_6 | ALSA-2022:5316 |
| AlmaLinux | 9 | kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more | 5.14.0-70.17.1.rt21.89.el9_0 | ALSA-2022:5267 |
| AlmaLinux | 9 | perf, kernel, bpftool and 25 more | 5.14.0-70.17.1.el9_0 | ALSA-2022:5249 |
| Rocky Linux | 8 | kernel | 0:4.18.0-372.13.1.el8_6 | RLSA-2022:5316 |
| Rocky Linux | 8 | kernel-rt | 0:4.18.0-372.13.1.rt7.170.el8_6 | RLSA-2022:5344 |
| Azure Linux | 2 | hyperv-daemons | 5.15.92.1-1 | AZL-13228 |
| Azure Linux | 2 | kernel | 5.15.32.1-3 | AZL-9120 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
The given exploit needs CAP_NET_ADMIN to set up IPsec SA and a user namespace is used to get that capability, so disabling unprivileged user namespaces gives some protection.
~~~
On non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0:
# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf
# sysctl -p /etc/sysctl.d/userns.conf
On containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled.
~~~
Note: If the target system is already using IPsec and has SA configured, then no additional privileges are needed to exploit the issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-372.13.1.rt7.170.el8_6 | Fixed 2022-06-28 | RHSA-2022:5344 |
| Red Hat Enterprise Linux 8 | kpatch-patch | Fixed 2022-06-28 | RHSA-2022:5219 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-372.13.1.el8_6 | Fixed 2022-06-30 | RHSA-2022:5316 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | kernel-0:4.18.0-147.67.1.el8_1 | Fixed 2022-06-07 | RHSA-2022:4924 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | kpatch-patch | Fixed 2022-06-08 | RHSA-2022:4942 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-rt-0:4.18.0-193.87.1.rt13.137.el8_2 | Fixed 2022-06-28 | RHSA-2022:5224 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-0:4.18.0-193.87.1.el8_2 | Fixed 2022-06-28 | RHSA-2022:5220 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kpatch-patch | Fixed 2022-07-01 | RHSA-2022:5476 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-rt-0:4.18.0-305.49.1.rt7.121.el8_4 | Fixed 2022-05-31 | RHSA-2022:4835 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kpatch-patch | Fixed 2022-05-31 | RHSA-2022:4809 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-0:4.18.0-305.49.1.el8_4 | Fixed 2022-05-31 | RHSA-2022:4829 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-70.17.1.el9_0 | Fixed 2022-07-01 | RHSA-2022:5249 |
| Red Hat Enterprise Linux 9 | kernel-rt-0:5.14.0-70.17.1.rt21.89.el9_0 | Fixed 2022-06-28 | RHSA-2022:5267 |
| Red Hat Enterprise Linux 9 | kpatch-patch | Fixed 2022-06-28 | RHSA-2022:5214 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | kernel-0:4.18.0-372.13.1.el8_6 | Fixed 2022-06-30 | RHSA-2022:5316 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | redhat-virtualization-host-0:4.5.1-202207170705_8.6 | Fixed 2022-07-21 | RHSA-2022:5678 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-27666.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.