Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/refraction-networking/utls
  4. ›
  5. GHSA-pmc3-p9hx-jq96

GHSA-pmc3-p9hx-jq96: uTLS ServerHellos are accepted without checking TLS 1.3 downgrade canaries

April 23, 2025

Before version 1.7.0, utls did not implement the TLS 1.3 downgrade protection mechanism specified in RFC 8446 Section 4.1.3 when using a utls ClientHello spec. This allowed an active network adversary to downgrade TLS 1.3 connections initiated by a utls client to a lower TLS version (e.g., TLS 1.2) by modifying the ClientHello message to exclude the SupportedVersions extension, causing the server to respond with a TLS 1.2 ServerHello (along with a downgrade canary in the ServerHello random field). Because utls did not check the downgrade canary in the ServerHello random field, clients would accept the downgraded connection without detecting the attack. This attack could also be used by an active network attacker to fingerprint utls connections.

References

  • github.com/advisories/GHSA-pmc3-p9hx-jq96
  • github.com/refraction-networking/utls
  • github.com/refraction-networking/utls/commit/f8892761e2a4d29054264651d3a86fda83bc83f9
  • github.com/refraction-networking/utls/issues/181
  • github.com/refraction-networking/utls/pull/337
  • github.com/refraction-networking/utls/security/advisories/GHSA-pmc3-p9hx-jq96

Code Behaviors & Features

Detect and mitigate GHSA-pmc3-p9hx-jq96 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 1.7.0

Fixed versions

  • 1.7.0

Solution

Upgrade to version 1.7.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

go/github.com/refraction-networking/utls/GHSA-pmc3-p9hx-jq96.yml

Spotted a mistake? Edit the file on GitLab.

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

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