CVEfocus › CVE database › CVE-2022-27239

CVE-2022-27239

CVSS 7.8 HighEPSS 0.6% (higher than 48% of CVEs)Published 2022-04-27Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
2Fix pending
6Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04cifs-utilsNot affected
vulnerable_code_not_present
Ubuntu 22.04cifs-utilsFixed2:6.14-1ubuntu0.1UBUNTU-CVE-2022-27239
Ubuntu 20.04cifs-utilsFixed2:6.9-1ubuntu0.2UBUNTU-CVE-2022-27239
Ubuntu 18.04cifs-utilsFixed2:6.8-1ubuntu1.2UBUNTU-CVE-2022-27239
Ubuntu 16.04cifs-utilsFix pending2:6.4-1ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-27239
Ubuntu 14.04cifs-utilsFix pending2:6.0-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-27239
Debian 14cifs-utilsFixed2:6.14-1.1DEBIAN-CVE-2022-27239
Debian 13cifs-utilsFixed2:6.14-1.1DEBIAN-CVE-2022-27239
Debian 12cifs-utilsFixed2:6.14-1.1DEBIAN-CVE-2022-27239
Red Hat Enterprise Linux 9cifs-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 9cifs-utils-develWill not fix
Will not fix
Red Hat Enterprise Linux 9pam_cifscredsWill not fix
Will not fix
Red Hat Enterprise Linux 8cifs-utilsFixed0:7.0-1.el8RHBA-2023:3052
Red Hat Enterprise Linux 8cifs-utils-develFixed0:7.0-1.el8RHBA-2023:3052
Red Hat Enterprise Linux 8pam_cifscredsFixed0:7.0-1.el8RHBA-2023:3052
Red Hat Enterprise Linux 7cifs-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 7cifs-utils-develWill not fix
Will not fix
Red Hat Enterprise Linux 6cifs-utilsWill not fix
Out of support scope
Alpine Linux 3.24cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.23cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.22cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.21cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.20cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.19cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.18cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.17cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239
Alpine Linux 3.16cifs-utilsFixed6.15-r0ALPINE-CVE-2022-27239

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.