Affected versions
Ubuntu20.04:LTS/samba
- Affected versions
- <2:4.15.13+dfsg-0ubuntu0.20.04.6
- Fixed version
- 2:4.15.13+dfsg-0ubuntu0.20.04.6
Ubuntu22.04:LTS/samba
- Affected versions
- <2:4.15.13+dfsg-0ubuntu1.5
- Fixed version
- 2:4.15.13+dfsg-0ubuntu1.5
Ubuntu24.04:LTS/samba
- Affected versions
- <2:4.18.6+dfsg-1ubuntu2.1
- Fixed version
- 2:4.18.6+dfsg-1ubuntu2.1
UbuntuPro:14.04:LTS/samba
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/samba
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/samba
- Affected versions
- *
- Fixed version
- Not reported
Description
A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.

