SecurityContext

CVE-2022-27239: cifs-utils - Buffer Overflow

  • Cve: CVE-2022-27239
  • Name: cifs-utils - Buffer Overflow
  • 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.
  • Impact: Local attackers can execute arbitrary code with root privileges, potentially compromising the entire system.
  • Remediation: Update to the latest version of cifs-utils that addresses this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: privilege_escalation, remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to run a crafted command with specific arguments
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00571
  • Epss percentile: 0.48141
  • Assignee: [email protected]
  • Published at: 2022-04-27T14:15:09Z
  • Age in days: 1672
  • Modified at: 2026-06-17T04:36:33Z
  • Patch available: yes
  • References total: 11
  • Products total: 19
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-27239
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.suse.com/show_bug.cgi?id=1197216Issue Tracking, Patch, Third Party Advisory
https://github.com/piastry/cifs-utils/pull/7Issue Tracking, Patch, Third Party Advisory
https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765Patch, Third Party Advisory
https://bugzilla.samba.org/show_bug.cgi?id=15025Issue Tracking, Permissions Required, Vendor Advisory
http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_SambaThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00020.htmlMailing List, Third Party Advisory
https://www.debian.org/security/2022/dsa-5157Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
samba:cifs-utils< 6.15/v1/products/samba/cifs-utils
debian:debian_linux= 11.0, = 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 36, = 35, = 34/v1/products/fedoraproject/fedora
suse:linux_enterprise_server= 15, = 15 sp1, = 15 sp2, = 15 sp3, = 15 sp4, = 12 sp2, = 12 sp3, = 12 sp4, = 12 sp5, = 11 sp3, = 11 sp4/v1/products/suse/linux_enterprise_server
suse:linux_enterprise_desktop= 15 sp3, = 15 sp4/v1/products/suse/linux_enterprise_desktop
suse:linux_enterprise_software_development_kit= 12 sp5/v1/products/suse/linux_enterprise_software_development_kit
suse:openstack_cloud= 9.0, = 8.0/v1/products/suse/openstack_cloud
suse:manager_server= 4.3, = 4.2, = 4.1/v1/products/suse/manager_server
suse:manager_proxy= 4.3, = 4.2, = 4.1/v1/products/suse/manager_proxy
suse:linux_enterprise_high_performance_computing= 15.0, = 15.0 sp1, = 15.0 sp2, = 15.0 sp3, = 15.0 sp4, = 12.0 sp5/v1/products/suse/linux_enterprise_high_performance_computing

Projects

RepositoryLink kindsIndexedUrl
piastry/cifs-utilsfix, pullyes/v1/repositories/piastry/cifs-utils

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports