cve.bz

CVE-2022-27239 Out-of-bounds Write

7.8 highEPSS 0.6%Fix available

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

On this page
In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

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
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
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-2022-27239 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-27239?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-27239?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-27239 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
samba:cifs-utilsbefore 6.15
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
suse:caas_platform4.0
suse:enterprise_storage6.0
suse:enterprise_storage7.0
suse:linux_enterprise_point_of_service11.0:sp3
suse:linux_enterprise_storage7.1
suse:manager_proxy4.1
suse:manager_proxy4.2
suse:manager_proxy4.3
suse:manager_retail_branch_server4.1
suse:manager_retail_branch_server4.2
suse:manager_retail_branch_server4.3
suse:manager_server4.1
suse:manager_server4.2
suse:manager_server4.3
suse:openstack_cloud8.0
suse:openstack_cloud9.0
suse:openstack_cloud_crowbar8.0
suse:openstack_cloud_crowbar9.0
suse:linux_enterprise_desktop15:sp3
suse:linux_enterprise_desktop15:sp4
suse:linux_enterprise_high_performance_computing12.0:sp5
suse:linux_enterprise_high_performance_computing15.0
suse:linux_enterprise_high_performance_computing15.0:sp1
suse:linux_enterprise_high_performance_computing15.0:sp2
suse:linux_enterprise_high_performance_computing15.0:sp3
suse:linux_enterprise_high_performance_computing15.0:sp4
suse:linux_enterprise_micro5.2
suse:linux_enterprise_real_time15.0:sp2
suse:linux_enterprise_server11:sp3
suse:linux_enterprise_server11:sp4
suse:linux_enterprise_server12:sp2
suse:linux_enterprise_server12:sp3
suse:linux_enterprise_server12:sp4
suse:linux_enterprise_server12:sp5
suse:linux_enterprise_server15
suse:linux_enterprise_server15:sp1
suse:linux_enterprise_server15:sp2
suse:linux_enterprise_server15:sp3
suse:linux_enterprise_server15:sp4
suse:linux_enterprise_software_development_kit12:sp5
hp:helion_openstack8.0
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9cifs-utils2:6.7-1+deb9u1DLA-3009-1
Debian10cifs-utils2:6.8-2+deb10u1DSA-5157-1
Debian11cifs-utils2:6.11-3.1+deb11u1DSA-5157-1
Debian12, 13, 14cifs-utils2:6.14-1.1DEBIAN-CVE-2022-27239
Ubuntu18.04:LTScifs-utils2:6.8-1ubuntu1.2UBUNTU-CVE-2022-27239 USN-5459-1
Ubuntu20.04:LTScifs-utils2:6.9-1ubuntu0.2UBUNTU-CVE-2022-27239 USN-5459-1
Ubuntu22.04:LTScifs-utils2:6.14-1ubuntu0.1UBUNTU-CVE-2022-27239 USN-5459-1
UbuntuPro:14.04:LTScifs-utils2:6.0-1ubuntu2+esm1UBUNTU-CVE-2022-27239 USN-7688-1
UbuntuPro:16.04:LTScifs-utils2:6.4-1ubuntu1.1+esm1UBUNTU-CVE-2022-27239 USN-7688-1
Red Hatenterprise_linux:8::baseoscifs-utils, pam_cifscreds, cifs-utils-debuginfo and 2 more0:7.0-1.el8RHBA-2023:3052
Red Hatenterprise_linux:8::crbcifs-utils-devel, cifs-utils-debuginfo, cifs-utils-debugsource and 1 more0:7.0-1.el8RHBA-2023:3052
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 15 morecifs-utils6.9-150100.5.15.1SUSE-SU-2022:1430-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 morecifs-utils6.9-9.18.1SUSE-SU-2022:1428-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morecifs-utils6.9-150000.3.17.1SUSE-SU-2022:1427-1
SUSELinux Enterprise Module for Basesystem 15 SP4cifs-utils6.15-150400.3.6.1SUSE-SU-2022:2378-1
SUSELinux Enterprise Point of Sale 11 SP3cifs-utils5.1-0.14.3.1SUSE-SU-2022:14950-1
SUSELinux Enterprise Server 11 SP4-LTSScifs-utils5.1-0.16.3.1SUSE-SU-2022:14951-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 morecifs-utils6.9-13.20.1SUSE-SU-2022:1429-1
openSUSELeap 15.3cifs-utils6.9-150100.5.15.1SUSE-SU-2022:1430-1
openSUSELeap 15.4cifs-utils6.15-150400.3.6.1SUSE-SU-2022:2378-1
openSUSETumbleweedcifs-utils6.15-1.1openSUSE-SU-2024:12087-1
Alpinev3.16, v3.17, v3.18 and 6 morecifs-utils6.15-r0ALPINE-CVE-2022-27239
Azure Linux2cifs-utils6.14-2AZL-9587

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; the Alpine secdb, CC BY-SA 4.0; 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 · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The mount.cifs binary file is shipped without setuid privileges as default which prevents an attacker to gain root privileges hence lowering the flaw impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8cifs-utils-0:7.0-1.el8Fixed 2023-05-16RHBA-2023:3052
Red Hat Enterprise Linux 6cifs-utilsOut of support scope
Red Hat Enterprise Linux 7cifs-utilsWill not fix
Red Hat Enterprise Linux 9cifs-utilsWill not fix

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-27239.

References

Check your stackJSON