CVE-2022-27239 json
In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attacke…
published 4y ago modified 4mo ago also EUVD-2022-31748
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- samba cifs-utils 6.15
- cifs-utils Debian 14, Debian 13, Debian 12 2:6.14-1.1
debian advisories DEBIAN-CVE-2022-27239
- cifs-utils Ubuntu 18.04 LTS 2:6.8-1ubuntu1.2
- cifs-utils Ubuntu 20.04 LTS 2:6.9-1ubuntu0.2
- cifs-utils Ubuntu 22.04 LTS 2:6.14-1ubuntu0.1
- cifs-utils Ubuntu Pro 14.04 LTS 2:6.0-1ubuntu2+esm1
- cifs-utils Ubuntu Pro 16.04 LTS 2:6.4-1ubuntu1.1+esm1
ubuntu advisories UBUNTU-CVE-2022-27239
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cifs-utils RHEL 8 7.0-1.el8
- pam_cifscreds RHEL 8 7.0-1.el8
red hat advisories RHBA-2023:3052
- cifs-utils SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 6.15-150400.3.6.1
- cifs-utils SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +16 more 6.9-150100.5.15.1
- cifs-utils SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 6.9-13.20.1
- cifs-utils SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 6.9-9.18.1
- cifs-utils SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 6.9-150000.3.17.1
- cifs-utils SLE Point of Sale 11 SP3 5.1-0.14.3.1
- cifs-utils SLES 11 SP4-LTSS 5.1-0.16.3.1
suse advisories SUSE-SU-2022:2378-1SUSE-SU-2022:1430-1SUSE-SU-2022:1429-1SUSE-SU-2022:1428-1SUSE-SU-2022:1427-1SUSE-SU-2022:14951-1
- cifs-utils openSUSE Tumbleweed 6.15-1.1
opensuse advisories openSUSE-SU-2024:12087-1
- cifs-utils Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 6.15-r0
alpine advisories ALPINE-CVE-2022-27239
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/piastry/cifs-utils#7 commit
- github.com/piastry/cifs-utils#7 pull request
- bugzilla.suse.com/show_bug.cgi?id=1197216 advisory
Is CVE-2022-27239 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-27239 updated cvss 7.0
cifs-utils: stack-based buffer overflow mount.cifs may lead to local privilege escalation to root
-
Red Hat Enterprise Linux 6 cifs-utilsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 cifs-utils Red Hat Enterprise Linux 9 cifs-utils, pam_cifscredsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux BaseOS (v. 8) cifs-utils 7.0-1.el8, pam_cifscreds 7.0-1.el8 Red Hat Enterprise Linux CRB (v. 8) cifs-utils-devel 7.0-1.el8, cifs-utils-debuginfo 7.0-1.el8, cifs-utils-debugsource 7.0-1.el8, pam_cifscreds-debuginfo 7.0-1.el8fixed: vendor fix RHBA-2023:3052
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765
patch, third-party-advisory
-
github.com
/piastry/cifs-utils/pull/7
issue-tracking, patch, third-party-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=1197216
issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
vendor-advisory
-
debian.org
/security/2022/dsa-5157
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202311-05
vendor-advisory
-
bugzilla.samba.org
/show_bug.cgi?id=15025
issue-tracking, permissions-required, vendor-advisory
-
wiki.robotz.com
/index.php/Linux_CIFS_Utils_and_Samba
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/05/msg00020.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2022-27239
- NVD CVE-2022-27239
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.