Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. wolfssl
  4. ›
  5. CVE-2022-39173

CVE-2022-39173: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

September 29, 2022 (updated August 8, 2023)

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

  • github.com/wolfSSL/wolfssl/releases
  • nvd.nist.gov/vuln/detail/CVE-2022-39173
  • www.wolfssl.com/docs/security-vulnerabilities/

Code Behaviors & Features

Detect and mitigate CVE-2022-39173 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.5.1

Fixed versions

  • 5.5.1

Solution

Upgrade to version 5.5.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/wolfssl/CVE-2022-39173.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.