Description (CNA)
libsmb2 through 6.2 contains a heap out-of-bounds read vulnerability in smb2_decode_file_all_info that allows malicious SMB servers to crash clients by sending an unchecked FileNameLength. Attackers controlling the server or performing man-in-the-middle on unsigned sessions can return crafted FileAllInformation replies to smb2_stat or smb2_fstat calls, crashing the client.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| sahlberg / libsmb2 | affected 0 through 6.2 |
CWE
CWE-125
References
- https://hackmd.io/@haind-pwn/libsmb2-query-info-reply-oob-read
- https://github.com/sahlberg/libsmb2/blob/d67e213a5c4e7e4969fd81f0b95e4ca5831fbba1/lib/smb2-data-file-info.c#L202
- https://github.com/sahlberg/libsmb2/commit/57bee9fb941a39307145b82e4dd1718862f30a74
- https://github.com/sahlberg/libsmb2
- https://www.vulncheck.com/advisories/libsmb2-through-6.2-heap-out-of-bounds-read-via-smb2-decode-file-all-info
ADP enrichment
No English description supplied.
No references supplied.