CVE-2022-3592
Reported by redhat · Published January 12, 2023
A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba-winbind | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| python3-samba-test | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| libwbclient-devel | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-client | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-ldb-ldap-modules | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-dc-libs | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-libs | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-usershares | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba | samba | 4.17.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | samba | Affects samba since 4.17.0, Fixed samba 4.17.2. |
| amazon:2023 | samba-winbind | 0 |
| amazon:2023 | python3-samba-test | 0 |
| amazon:2023 | libwbclient-devel | 0 |
| amazon:2023 | samba-client | 0 |
| amazon:2023 | samba-ldb-ldap-modules | 0 |
| amazon:2023 | samba-dc-libs | 0 |
| amazon:2023 | samba-libs | 0 |
| amazon:2023 | samba-usershares | 0 |
| n/a | samba | Affects samba since 4.17.0, Fixed samba 4.17.2. |
| alpine | samba | 0, 0 |
| amazon:2023 | samba-common | 0 |
| amazon:2023 | libsmbclient-devel | 0 |
| amazon:2023 | samba-test-libs | 0 |
| amazon:2023 | samba-common-tools | 0 |
| amazon:2023 | samba-client-libs | 0 |
| amazon:2023 | python3-samba-devel | 0 |
| amazon:2023 | samba-krb5-printing | 0 |
| amazon:2023 | libwbclient | 0 |
| amazon:2023 | samba-vfs-iouring | 0 |
…and 13 more
Timeline
- Oct 24, 2022 CVE Published
- Jan 13, 2023 EPSS Score (30 in total, the first dated here)
- Jun 9, 2023 PoC Published (59 in total, the first dated here)
- Apr 8, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (8 in total, the first dated here)
- Jun 21, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3592
vulnetix vdb fixes CVE-2022-3592
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3592/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202309-06 vendor-advisory