CVE-2025-68121
https://nvd.nist.gov/vuln/detail/CVE-2025-68121
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.
Location: usr/local/bin/sops Component Name: stdlib Component Version: v1.25.5
During session resumption in crypto/tls, if the underlying Config has ...
Target: usr/local/bin/sops
Type: gobinary
Fixed version: 1.24.13, 1.25.7, 1.26.0-rc.3
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.
How does this affect sops? Please provide more information.
We use SOPs in our images. However, according to our security policy, we are no longer permitted to use SOPs in this way.
To resolve this issue, only a GO version update is necessary.
Ref: https://github.com/getsops/sops/issues/2060#issuecomment-3879587427