Out-of-bounds Write Affecting wolfssl package, versions <5.5.1-r0
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE317-WOLFSSL-3144842
- published 23 Nov 2022
- disclosed 29 Sep 2022
Introduced: 29 Sep 2022
CVE-2022-39173 Open this link in a new tabHow to fix?
Upgrade Alpine:3.17
wolfssl
to version 5.5.1-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream wolfssl
package and not the wolfssl
package as distributed by Alpine
.
See How to fix?
for Alpine:3.17
relevant fixed versions and status.
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.
References
- https://www.wolfssl.com/docs/security-vulnerabilities/
- https://github.com/wolfSSL/wolfssl/releases
- http://seclists.org/fulldisclosure/2022/Oct/24
- http://packetstormsecurity.com/files/169600/wolfSSL-Buffer-Overflow.html
- https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/