CVE-2022-27239

Name
CVE-2022-27239
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba
MISC https://bugzilla.samba.org/show_bug.cgi?id=15025
MISC https://bugzilla.suse.com/show_bug.cgi?id=1197216
MISC https://github.com/piastry/cifs-utils/pull/7
MISC https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
MLIST https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html
DEBIAN https://www.debian.org/security/2022/dsa-5157
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
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/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:samba:cifs-utils:*:*:*:*:*:*:*:* cifs-utils >= None <= 6.14
cpe:2.3:a:samba:cifs-utils:*:*:*:*:*:*:*:* cifs-utils >= None < 6.15

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
cifs-utils 3.15-main 6.14-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
cifs-utils 3.14-main 6.13-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
cifs-utils 3.13-main 6.13-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
cifs-utils 3.12-main 6.13-r0 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable
cifs-utils 3.16-main 6.15-r0 Francesco Colista <fcolista@alpinelinux.org> fixed