# What is CVE-2022-27239?

> CVE-2022-27239 is a high-severity flaw (CVSS 7.8) in Cifs-Utils from Samba, published on 27 April 2022. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 0.6%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2022-27239

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **Precursor Intelligence risk score:** 46 out of 100 (Medium); action: Plan remediation. Kept up to date as the evidence changes.
- **Severity:** High (CVSS 7.8 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 0.6% (latest exploit-likelihood forecast)
- **Published:** 27 April 2022
- **Record last updated:** 24 November 2023
- **Main product:** Cifs-Utils from Samba
- **Affected products:** 19

## What is CVE-2022-27239? In plain terms

An attacker has to be already on the device with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.

### The official description

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 kind of flaw is it?

- CWE-787: Out-of-bounds Write

### How an attack on it works

- Where an attacker can be: Already on the device
- How hard it is to pull off: Easy: no special conditions
- Login needed first: An ordinary user account
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can read data, change data and take it offline

Severity vector: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## Is CVE-2022-27239 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.6%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 0.6%, 0.6%, 0.6%, 0.6%, 0.6%, 0.6%, 0.6%.

### Timeline

- 27 April 2022: Published
- 24 November 2023: Record last updated

### How Precursor Intelligence ranks it

CVE-2022-27239 scores **46 out of 100 (Medium)**, with the action "Plan remediation".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2022-27239?

The published record lists 19 products. Versions are as published: "before 6.15" means every version up to, but not including, 6.15.

- [Cifs-Utils](https://www.precursorintelligence.com/product/samba/cifs-utils) by [Samba](https://www.precursorintelligence.com/vendors/samba) (Application): before 6.15
- [Linux Enterprise Server](https://www.precursorintelligence.com/product/suse/linux_enterprise_server) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 11-sp3, 11-sp4, 12-sp2, 12-sp3, 12-sp4, 12-sp5, 15, 15-sp1, 15-sp2, 15-sp3, 15-sp4
- [Linux Enterprise High Performance Computing](https://www.precursorintelligence.com/product/suse/linux_enterprise_high_performance_computing) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 12.0-sp5, 15.0, 15.0-sp1, 15.0-sp2, 15.0-sp3, 15.0-sp4
- [Debian Linux](https://www.precursorintelligence.com/product/debian/debian_linux) by [Debian](https://www.precursorintelligence.com/vendors/debian) (Operating system): 9.0, 10.0, 11.0
- [Fedora](https://www.precursorintelligence.com/product/fedoraproject/fedora) by [Fedoraproject](https://www.precursorintelligence.com/vendors/fedoraproject) (Operating system): 34, 35, 36
- [Manager Proxy](https://www.precursorintelligence.com/product/suse/manager_proxy) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 4.1, 4.2, 4.3
- [Manager Retail Branch Server](https://www.precursorintelligence.com/product/suse/manager_retail_branch_server) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 4.1, 4.2, 4.3
- [Manager Server](https://www.precursorintelligence.com/product/suse/manager_server) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 4.1, 4.2, 4.3
- [Enterprise Storage](https://www.precursorintelligence.com/product/suse/enterprise_storage) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 6.0, 7.0
- [Linux Enterprise Desktop](https://www.precursorintelligence.com/product/suse/linux_enterprise_desktop) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 15-sp3, 15-sp4
- [Openstack Cloud](https://www.precursorintelligence.com/product/suse/openstack_cloud) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 8.0, 9.0
- [Openstack Cloud Crowbar](https://www.precursorintelligence.com/product/suse/openstack_cloud_crowbar) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 8.0, 9.0
- [Caas Platform](https://www.precursorintelligence.com/product/suse/caas_platform) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 4.0
- [Helion Openstack](https://www.precursorintelligence.com/product/hp/helion_openstack) by [HP](https://www.precursorintelligence.com/vendors/hp) (Application): 8.0
- [Linux Enterprise Micro](https://www.precursorintelligence.com/product/suse/linux_enterprise_micro) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 5.2
- [Linux Enterprise Point of Service](https://www.precursorintelligence.com/product/suse/linux_enterprise_point_of_service) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 11.0-sp3
- [Linux Enterprise Real Time](https://www.precursorintelligence.com/product/suse/linux_enterprise_real_time) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 15.0-sp2
- [Linux Enterprise Software Development Kit](https://www.precursorintelligence.com/product/suse/linux_enterprise_software_development_kit) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Operating system): 12-sp5
- [Linux Enterprise Storage](https://www.precursorintelligence.com/product/suse/linux_enterprise_storage) by [Suse](https://www.precursorintelligence.com/vendors/suse) (Application): 7.1

## How do I fix CVE-2022-27239?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [bugzilla.suse.com](https://bugzilla.suse.com/show_bug.cgi?id=1197216) (Issue tracking, Patch, Third-party advisory)
- [github.com](https://github.com/piastry/cifs-utils/pull/7) (Issue tracking, Patch, Third-party advisory)
- [github.com](https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765) (Patch, Third-party advisory)
- [bugzilla.samba.org](https://bugzilla.samba.org/show_bug.cgi?id=15025) (Issue tracking, Permissions required, Vendor advisory)
- [wiki.robotz.com](http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba) (Third-party advisory)
- [lists.debian.org](https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html) (Mailing list, Third-party advisory)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/)
- [lists.fedoraproject.org](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/)
- [security.gentoo.org](https://security.gentoo.org/glsa/202311-05)
- [debian.org](https://www.debian.org/security/2022/dsa-5157) (Third-party advisory)

## Questions

### What is CVE-2022-27239?

CVE-2022-27239 is a high-severity flaw in Cifs-Utils from Samba, published on 27 April 2022. An attacker has to be already on the device with an ordinary user account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.

### How serious is CVE-2022-27239?

It scores 7.8 out of 10 on the CVSS severity scale, which is high. Our risk score for CVE-2022-27239 is 46 out of 100, which is Medium. Its action is "Plan remediation". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2022-27239 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.6%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2022-27239 affect?

For Cifs-Utils from Samba: before 6.15. The record lists 19 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2022-27239?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2022-27239 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

