CVE-2015-5252
vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring…
Check your servers for CVE-2015-5252
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-5252 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring relationships exist, allows remote attackers to bypass intended file-access restrictions via a symlink that points outside of a share.
Exploitation
EPSS 13.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.0% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-5252 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-5252RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-5252Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-5252
trivy image --scanners vuln IMAGE | grep CVE-2015-5252
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- FEDORA-2015-0e0879cc8a lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2016:1064 lists.opensuse.org · vendor advisory
- USN-2855-2 ubuntu.com · vendor advisory
- SUSE-SU-2016:0032 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:2304 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- SUSE-SU-2015:2305 lists.opensuse.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1290288 bugzilla.redhat.com
- SUSE-SU-2016:0164 lists.opensuse.org · vendor advisory
- openSUSE-SU-2015:2354 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:1105 lists.opensuse.org · vendor advisory
- FEDORA-2015-b36076d32e lists.fedoraproject.org · vendor advisory
10 more
- openSUSE-SU-2016:1106 lists.opensuse.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993 h20566.www2.hpe.com
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=4278ef25f64d5fdbf432ff1534e275416ec9561e git.samba.org
- DSA-3433 debian.org · vendor advisory
- openSUSE-SU-2016:1107 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html oracle.com
- GLSA-201612-47 security.gentoo.org · vendor advisory
- https://www.samba.org/samba/security/CVE-2015-5252.html samba.org
- USN-2855-1 ubuntu.com · vendor advisory
- openSUSE-SU-2015:2356 lists.opensuse.org · vendor advisory
Other references
Source: the record CVE-2015-5252 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse