p PatchFirst

CVE-2025-68121

CVE-2025-68121 · Unexpected session resumption in crypto/tls

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed. This may happen when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. This can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.

CVSS 9.1 · Critical · EPSS 0.9% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • crypto/tls

    Versions
    • ≥ 0, < 1.24.13: Affected (semver)
    • ≥ 1.25.0-0, < 1.25.7: Affected (semver)
    • ≥ 1.26.0-rc.1, < 1.26.0-rc.3: Affected (semver)

    Update to 1.24.13; Update to 1.25.7; Update to 1.26.0-rc.3

  • golang-1.19 Debian:12

    Versions
    • 1.19.10-1
    • 1.19.10-2
    • 1.19.11-1
    • 1.19.12-1
    • 1.19.12-2
    • 1.19.12-2~bpo11+1
    • 1.19.12-2~bpo12+1
    • 1.19.13-1
    • 1.19.13-1~bpo11+1
    • 1.19.13-1~bpo12+1
    • 1.19.8-2
    • 1.19.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.24 Debian:13

    Versions
    • 1.24.12-1
    • 1.24.13-1
    • 1.24.13-2
    • 1.24.4-1
    • 1.24.4-2
    • 1.24.4-3
    • 1.24.4-4
    • 1.24.7-1
    • 1.24.8-1
    • 1.24.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:Pro:16.04:LTS

    Versions
    • 1.18.1-1ubuntu1~16.04.6
    • 1.18.1-1ubuntu1~16.04.6+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.16 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.16.2-0ubuntu1~18.04.2
    • 1.16.2-0ubuntu1~18.04.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.18.1-1ubuntu1~18.04.3
    • 1.18.1-1ubuntu1~18.04.4
    • 1.18.1-1ubuntu1~18.04.4+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.16 Ubuntu:Pro:20.04:LTS

    Versions
    • 1.16.2-0ubuntu1~20.04
    • 1.16.2-0ubuntu1~20.04.1
    • 1.16.2-0ubuntu1~20.04.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:20.04:LTS

    Versions
    • 1.18.1-1ubuntu1~20.04.1
    • 1.18.1-1ubuntu1~20.04.2
    • 1.18.1-1ubuntu1~20.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.20 Ubuntu:20.04:LTS

    Versions
    • 1.20.3-1ubuntu0.1~20.04
    • 1.20.3-1ubuntu0.1~20.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.21 Ubuntu:20.04:LTS

    Versions
    • 1.21.1-1~ubuntu20.04.1
    • 1.21.1-1~ubuntu20.04.2
    • 1.21.1-1~ubuntu20.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.22 Ubuntu:20.04:LTS

    Versions
    • 1.22.2-2~20.04.1
    • 1.22.2-2~20.04.2
    • 1.22.2-2~20.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.17 Ubuntu:22.04:LTS

    Versions
    • 1.17-1ubuntu2
    • 1.17.3-1ubuntu1
    • 1.17.3-1ubuntu2
    • 1.17.13-3ubuntu1
    • 1.17.13-3ubuntu1.2
    • 1.17.13-3ubuntu1.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:22.04:LTS

    Versions
    • 1.18~beta1-0ubuntu1
    • 1.18~beta2-1ubuntu1
    • 1.18~beta2-1ubuntu2
    • 1.18~rc1-1ubuntu1
    • 1.18-1ubuntu1
    • 1.18.1-1ubuntu1
    • 1.18.1-1ubuntu1.1
    • 1.18.1-1ubuntu1.2
    • 1.18.1-1ubuntu1.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.20 Ubuntu:22.04:LTS

    Versions
    • 1.20.3-1ubuntu0.1~22.04
    • 1.20.3-1ubuntu0.1~22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.21 Ubuntu:22.04:LTS

    Versions
    • 1.21.1-1~ubuntu22.04.1
    • 1.21.1-1~ubuntu22.04.2
    • 1.21.1-1~ubuntu22.04.3
    • 1.21.1-1~ubuntu22.04.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.22 Ubuntu:22.04:LTS

    Versions
    • 1.22.2-2~22.04
    • 1.22.2-2~22.04.1
    • 1.22.2-2~22.04.2
    • 1.22.2-2~22.04.3
    • 1.22.2-2~22.04.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.23 Ubuntu:22.04:LTS

    Versions
    • 1.23.1-1~22.04
    • 1.23.1-1~22.04.2
    • 1.23.1-1~22.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.24 Ubuntu:22.04:LTS

    Versions
    • 1.24.4-1ubuntu1~22.04.1
    • 1.24.4-1ubuntu1~22.04.2
    • 1.24.13-2~22.04.1
    • 1.24.13-2~22.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.25 Ubuntu:22.04:LTS

    Versions
    • 1.25.14-1~ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.21 Ubuntu:24.04:LTS

    Versions
    • 1.21.1-1
    • 1.21.3-1
    • 1.21.4-1
    • 1.21.5-1
    • 1.21.6-1
    • 1.21.7-1
    • 1.21.7-2
    • 1.21.8-1
    • 1.21.8-1build1
    • 1.21.9-1
    • 1.21.9-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.22 Ubuntu:24.04:LTS

    Versions
    • 1.22~rc1-2
    • 1.22.0-1
    • 1.22.0-2
    • 1.22.1-1
    • 1.22.1-1build1
    • 1.22.2-2
    • 1.22.2-2ubuntu0.1
    • 1.22.2-2ubuntu0.2
    • 1.22.2-2ubuntu0.3
    • 1.22.2-2ubuntu0.4
    • 1.22.2-2ubuntu0.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.23 Ubuntu:24.04:LTS

    Versions
    • 1.23.1-1~24.04
    • 1.23.1-1~24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.24 Ubuntu:24.04:LTS

    Versions
    • 1.24.4-1ubuntu1~24.04.1
    • 1.24.4-1ubuntu1~24.04.2
    • 1.24.13-2~24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.25 Ubuntu:24.04:LTS

    Versions
    • 1.25.14-1~ubuntu0.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →