### [CVE-2022-39173](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39173) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. This occurs when an attacker supposedly resumes a previous TLS session. During the resumption Client Hello a Hello Retry Request must be triggered. Both Client Hellos are required to contain a list of duplicate cipher suites to trigger the buffer overflow. In total, two Client Hellos have to be sent: one in the resumed session, and a second one as a response to a Hello Retry Request message. ### POC #### Reference - http://packetstormsecurity.com/files/169600/wolfSSL-Buffer-Overflow.html - https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/ #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/trailofbits/publications - https://github.com/wolfSSL/wolfssl