Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-3592 EUVD-2022-42956GHSA-cghw-hvr5-w2m2

A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured s…

Published Jan 12, 2023 · Updated Apr 8, 2025 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— samba Affects samba since 4.17.0, Fixed samba 4.17.2. —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.17.2+git.273.a55a83528b9-1.1 openSUSE-SU-2024:12454-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.16.6-r0 —
Alpine v3.23 samba 4.16.6-r0 —
Alpine v3.22 samba 4.16.6-r0 —
Alpine v3.21 samba 4.16.6-r0 —
Alpine v3.20 samba 4.16.6-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.16.6-r0 —
Alpine v3.18 samba 4.16.6-r0 —
Alpine v3.17 samba 4.16.6-r0 —
Alpine v3.16 samba 4.15.12-r0 —
Alpine v3.15 samba 4.15.12-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +29 2:4.17.5-0.amzn2023.0.2 ALAS2023-2023-032

Advisories 3

References