cve.bz

CVE-2020-14386 Out-of-bounds Write

7.8 highEPSS 1.3%Fix available

High (7.8). EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Linux kernel before 5.9-rc4. Memory corruption can be exploited to gain root privileges from unprivileged processes. The highest threat from this vulnerability is to data confidentiality and integrity.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-250 Execution with Unnecessary Privileges
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14386?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14386?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-2020-14386 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.6 before 4.9.239
linux:linux_kernelfrom 4.10 before 4.14.201
linux:linux_kernelfrom 4.15 before 4.19.150
linux:linux_kernelfrom 4.20 before 5.4.64
linux:linux_kernelfrom 5.5 before 5.8.8
linux:linux_kernel5.9.0:rc1
linux:linux_kernel5.9.0:rc2
linux:linux_kernel5.9.0:rc3
debian:debian_linux9.0
fedoraproject:fedora33
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.240-1DLA-2420-1
Debian9linux-4.194.19.146-1~deb9u1DLA-2385-1
Debian12, 13, 14linux5.8.7-1DEBIAN-CVE-2020-14386
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1082.86~16.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu16.04:LTSlinux-azure4.15.0-1095.105~16.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1083.94~16.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu16.04:LTSlinux-hwe4.15.0-117.118~16.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-14386
Ubuntu16.04:LTSlinux-oracle4.15.0-1053.57~16.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux4.15.0-117.118UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux-aws4.15.0-1082.86UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux-aws-5.35.3.0-1035.37UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux-aws-5.4, linux-gcp-5.4, linux-oracle-5.45.4.0-1024.24~18.04.1UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1095.105UBUNTU-CVE-2020-14386 USN-4489-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1025.25~18.04.1UBUNTU-CVE-2020-14386 USN-4489-1
46 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-193, kpatch-patch-4_18_0-193-debuginfo, kpatch-patch-4_18_0-193-debugsource0:1-7.el8RHSA-2020:4331
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-193_13_2, kpatch-patch-4_18_0-193_14_3, kpatch-patch-4_18_0-193_19_1 and 6 more0:1-2.el8_2RHSA-2020:4331
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-193_1_2, kpatch-patch-4_18_0-193_1_2-debuginfo, kpatch-patch-4_18_0-193_1_2-debugsource0:1-5.el8_2RHSA-2020:4331
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-193_6_3, kpatch-patch-4_18_0-193_6_3-debuginfo, kpatch-patch-4_18_0-193_6_3-debugsource0:1-4.el8_2RHSA-2020:4331
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-193.28.1.el8_2RHSA-2020:4286
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-193.28.1.el8_2RHSA-2020:4286
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-193.28.1.rt13.77.el8_2RHSA-2020:4289
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-193.28.1.rt13.77.el8_2RHSA-2020:4289
Red Hatrhel_e4s:8.0::baseosperf, kernel, bpftool and 22 more0:4.18.0-80.31.1.el8_0RHSA-2020:5199
Red Hatrhel_eus:8.1::baseoskpatch-patch-4_18_0-147, kpatch-patch-4_18_0-147-debuginfo, kpatch-patch-4_18_0-147-debugsource0:1-18.el8RHSA-2020:4332
Red Hatrhel_eus:8.1::baseoskpatch-patch-4_18_0-147_0_2, kpatch-patch-4_18_0-147_0_3, kpatch-patch-4_18_0-147_0_2-debuginfo and 1 more0:1-14.el8RHSA-2020:4332
Red Hatrhel_eus:8.1::baseoskpatch-patch-4_18_0-147_13_2, kpatch-patch-4_18_0-147_13_2-debuginfo, kpatch-patch-4_18_0-147_13_2-debugsource0:1-5.el8_1RHSA-2020:4332
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.130.1SUSE-SU-2020:2582-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_351-4.3.1SUSE-SU-2020:2582-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.141.1SUSE-SU-2020:2576-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.130.1SUSE-SU-2020:2582-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.60.1SUSE-SU-2020:2623-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.37.1SUSE-SU-2020:2574-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.58.1SUSE-SU-2020:2610-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.56.1SUSE-SU-2020:2575-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.15.1SUSE-SU-2020:2577-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.58.1SUSE-SU-2020:2610-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_10, kgraft-patch-SLE12-SP4_Update_117-2.2SUSE-SU-2020:3204-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_126-2.2SUSE-SU-2020:3204-1
51 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-debug, kernel-obs-qa, kernel-default and 3 more4.12.14-lp151.28.67.2openSUSE-SU-2020:1379-1
openSUSELeap 15.1kernel-debug, kernel-obs-qa, kernel-default and 3 more4.12.14-lp151.28.71.2openSUSE-SU-2020:1655-1
openSUSELeap 15.1kernel-docs4.12.14-lp151.28.67.3openSUSE-SU-2020:1379-1
openSUSELeap 15.1kernel-docs, kernel-syms, kernel-source4.12.14-lp151.28.71.1openSUSE-SU-2020:1655-1
openSUSELeap 15.1kernel-syms, kernel-source4.12.14-lp151.28.67.1openSUSE-SU-2020:1379-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.41.1.lp152.8.6.2openSUSE-SU-2020:1382-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.41.1openSUSE-SU-2020:1382-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1
openSUSETumbleweedkernel-source5.14.6-1.4openSUSE-SU-2024:10728-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Only local users with CAP_NET_RAW capability enabled can trigger this issue.

For OpenShift Container Platform 4, pods in the default restricted SCC are granted CAP_NET_RAW by default. An attacker can exploit this if they can run arbitrary container images on the target cluster.

Red Hat's mitigation

If the CAP_NET_RAW capability disabled by default (which is true for Red Hat Enterprise Linux), then only a privileged user can trigger this bug. The mitigation is to disable CAP_NET_RAW capability for regular users and for executables.

On Red Hat Enterprise Linux 8 CAP_NET_RAW capability can be also gained by exploiting unprivileged user namespaces. The mitigation is to disable unprivileged 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

OpenShift Container Platform 4.5 and 4.4 this can be mitigated by removing `CAP_NET_RAW` from the default cri-o capabilities provided to pods (NOTE: This may prevent `ping` from working in unprivileged pods. This fix has not been validated for OpenShift 4.3 or below):

```

apiVersion: machineconfiguration.openshift.io/v1

kind: MachineConfig

metadata:

labels:

machineconfiguration.openshift.io/role: worker

name: 50-reset-crio-capabilities

spec:

config:

ignition:

version: 2.2.0

storage:

files:

- contents:

source: data:text/plain;charset=utf-8;base64,W2NyaW8ucnVudGltZV0KZGVmYXVsdF9jYXBhYmlsaXRpZXMgPSBbCiAgICAiQ0hPV04iLAogICAgIkRBQ19PVkVSUklERSIsCiAgICAiRlNFVElEIiwKICAgICJGT1dORVIiLAogICAgIlNFVEdJRCIsCiAgICAiU0VUVUlEIiwKICAgICJTRVRQQ0FQIiwKICAgICJORVRfQklORF9TRVJWSUNFIiwKICAgICJTWVNfQ0hST09UIiwKICAgICJLSUxMIiwKXQo=

filesystem: root

mode: 0644

path: /etc/crio/crio.conf.d/reset-crio-capabilities.conf

```

Create this MachineConfig object via e.g. `oc apply`. More information about MachineConfig can be found here:

https://github.com/openshift/machine-config-operator

https://docs.openshift.com/container-platform/4.5/architecture/architecture-rhcos.html

In order to monitor the rollout of this change, use `oc describe machineconfigpool/worker`.

Check for any pods which start to crash after this is applied; they may need to be adjusted request `CAP_NET_RAW` explicitly. More information:

https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container

https://docs.openshift.com/container-platform/4.5/authentication/managing-security-context-constraints.html

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-193.28.1.rt13.77.el8_2Fixed 2020-10-20RHSA-2020:4289
Red Hat Enterprise Linux 8kernel-0:4.18.0-193.28.1.el8_2Fixed 2020-10-20RHSA-2020:4286
Red Hat Enterprise Linux 8kpatch-patchFixed 2020-10-26RHSA-2020:4331
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionskernel-0:4.18.0-80.31.1.el8_0Fixed 2020-11-24RHSA-2020:5199
Red Hat Enterprise Linux 8.1 Extended Update Supportkernel-0:4.18.0-147.32.1.el8_1Fixed 2020-10-20RHSA-2020:4287
Red Hat Enterprise Linux 8.1 Extended Update Supportkpatch-patchFixed 2020-10-26RHSA-2020:4332
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise MRG 2kernelNot 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-2020-14386.

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON