Description (CNA)
libsmb2 through 6.2 contains a heap out-of-bounds read vulnerability in smb2_decode_file_fs_volume_info and smb2_decode_file_fs_attribute_info that allows malicious SMB servers to read past reply buffers. Attackers controlling a server or intercepting unsigned sessions can send crafted QUERY_INFO replies with missing or oversized name lengths to crash 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-filesystem-info.c#L71
- https://github.com/sahlberg/libsmb2/commit/dd0bbdee24bb56f7ec95431afc07ce0a666533f7
- https://github.com/sahlberg/libsmb2
- https://www.vulncheck.com/advisories/libsmb2-through-6.2-heap-out-of-bounds-read-via-file-system-info-decoders
ADP enrichment
No English description supplied.
No references supplied.