Description
Ettercap through 0.8.4.1 contains a heap out-of-bounds read vulnerability in sslw_get_clienthello_sni() in src/ec_sslwrap.c that trusts the unchecked 16-bit SNI length field. Network-adjacent attackers can send crafted TLS ClientHello messages during SSL interception to leak up to 64 KB of heap memory upstream or crash Ettercap.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Ettercap ettercap
Default version status: unaffected
0 to ≤ 0.8.4.1affected
pkg:github/Ettercap/ettercapReferences
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-v48w-7cvh-c7f4 ↗
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 ↗
- https://github.com/Ettercap/ettercap/pull/1330 ↗
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c#L589-L604 ↗
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-heap-out-of-bounds-read-via-tls-sni-parsing ↗