CVE-2023-0386highunder attackCWE-282

CVE-2023-0386: high-severity vulnerability in Kernel

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

91Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 7.8epss 7.9%
from disclosure to weapon29 days
Published on NVDMar 22
1st PoC+29d
metasploitMar 22
CISA KEV+818d
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
17 products (799 components)
Red Hat Enterprise Linux BaseOS EUS (v.8.6) · Red Hat Enterprise Linux BaseOS (v. 8) · Red Hat Enterprise Linux BaseOS EUS (v.9.0) · Red Hat Enterprise Linux BaseOS (v. 9) · Red Hat Enterprise Linux AppStream (v. 9) · and others 12
Not affected
3 products (46 components) — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 6 · RHEL 8-based RHEV-H for RHEV 4 (build requirements)
Action required by CISAfederal deadline: 2025-07-08

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

In short

A bug in Linux's OverlayFS allows a local user to run programs with elevated privileges by copying files with special permissions across different mount points. This can let an attacker gain admin-level access to the system.

Technical detail

A uid mapping vulnerability in OverlayFS permits a local attacker to copy setuid/capability-bearing files from nosuid mounts to other mounts, bypassing security restrictions. The attack requires local filesystem access and results in privilege escalation to root or other privileged accounts.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

A flaw was found in the Linux kernel, where unauthorized access to the execution of the setuid file with capabilities was found in the Linux kernel’s OverlayFS subsystem in how a user copies a capable file from a nosuid mount into another mount. This uid mapping bug allows a local user to escalate their privileges on the system.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · Kernel
public PoCs found — 34
githubgithub.com/xkaneiki/CVE-2023-0386★ 420githubgithub.com/chenaotian/CVE-2023-0386★ 124githubgithub.com/sxlmnwb/CVE-2023-0386★ 51githubgithub.com/Fanxiaoyao66/CVE-2023-0386★ 21githubgithub.com/puckiestyle/CVE-2023-0386★ 18githubgithub.com/veritas501/CVE-2023-0386★ 10githubgithub.com/P4x1s/CVE-2023-0386★ 4githubgithub.com/Satheesh575555/linux-4.19.72_CVE-2023-0386★ 4githubgithub.com/orilevy8/cve-2023-0386★ 1githubgithub.com/anxs3c/TwoMillion-Machine★ 0githubgithub.com/letsr00t/CVE-2023-0386★ 0githubgithub.com/churamanib/CVE-2023-0386★ 0githubgithub.com/EstamelGG/CVE-2023-0386-libs★ 0githubgithub.com/dragosbanica/CVE-2023-0386_POC★ 0githubgithub.com/karimelsheikh1/HTB-TwoMillion-Writeup★ 0githubgithub.com/julianertle/CVE-2023-0386-CTF★ 0vulncheckvulncheck.com/xdb/708dfdecb126unverifiedvulncheckvulncheck.com/xdb/4d7d1a568276unverifiedvulncheckvulncheck.com/xdb/ed96a51472b3unverifiedcve_referencepacketstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.htmlunverifiedvulncheckvulncheck.com/xdb/87a5850ce2d9unverifiedvulncheckvulncheck.com/xdb/917dedee61f9unverifiedvulncheckvulncheck.com/xdb/8e83ff46f752unverifiedvulncheckvulncheck.com/xdb/6fd75a13aef7unverifiedvulncheckvulncheck.com/xdb/84dd9b75426funverifiedvulncheckvulncheck.com/xdb/cee2b1a019b8unverifiedvulncheckvulncheck.com/xdb/6b752e342371unverifiedvulncheckvulncheck.com/xdb/8bb70e7dbfc7unverifiedvulncheckvulncheck.com/xdb/c79ab92abc39unverifiedvulncheckvulncheck.com/xdb/25bf65fa10ffunverifiedvulncheckvulncheck.com/xdb/6278e1e62115unverifiedvulncheckvulncheck.com/xdb/14fb1eaa3bcaunverifiedvulncheckvulncheck.com/xdb/9d683f411803unverifiedvulncheckvulncheck.com/xdb/81fd83df2618unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.