CVE-2015-5299
The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and…
Check your servers for CVE-2015-5299
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-5299 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
The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c 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 does not verify that the DIRECTORY_LIST access right has been granted, which allows remote attackers to access snapshots by visiting a shadow copy directory.
Exploitation
EPSS 13.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.1% 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-5299 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-5299RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-5299Alpine
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-5299
trivy image --scanners vuln IMAGE | grep CVE-2015-5299
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
- SUSE-SU-2016:0164 lists.opensuse.org · vendor advisory
- openSUSE-SU-2015:2354 lists.opensuse.org · vendor advisory
- FEDORA-2015-b36076d32e lists.fedoraproject.org · vendor advisory
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=675fd8d771f9d43e354dba53ddd9b5483ae0a1d7 git.samba.org
- openSUSE-SU-2016:1106 lists.opensuse.org · vendor advisory
9 more
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993 h20566.www2.hpe.com
- DSA-3433 debian.org · vendor advisory
- openSUSE-SU-2016:1107 lists.opensuse.org · vendor advisory
- https://www.samba.org/samba/security/CVE-2015-5299.html samba.org
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html oracle.com
- GLSA-201612-47 security.gentoo.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1276126 bugzilla.redhat.com
- USN-2855-1 ubuntu.com · vendor advisory
- openSUSE-SU-2015:2356 lists.opensuse.org · vendor advisory
Other references
Source: the record CVE-2015-5299 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