A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS modul...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSsamba |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSsamba |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSsamba |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu0.20.04.6→ 2:4.15.13+dfsg-0ubuntu0.20.04.6 |
2:4.15.13+dfsg-0ubuntu0.20.04.6 |
| Ubuntu:22.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu1.5→ 2:4.15.13+dfsg-0ubuntu1.5 |
2:4.15.13+dfsg-0ubuntu1.5 |
| Ubuntu:24.04:LTSsamba |
< 2:4.18.6+dfsg-1ubuntu2.1→ 2:4.18.6+dfsg-1ubuntu2.1 |
2:4.18.6+dfsg-1ubuntu2.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report samba.org
- report cve.org