sops icon indicating copy to clipboard operation
sops copied to clipboard

CVE-2025-68121

Open Tortenschmeisser opened this issue 9 months ago • 3 comments

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.

Tortenschmeisser avatar Feb 09 '26 13:02 Tortenschmeisser

How does this affect sops? Please provide more information.

felixfontein avatar Feb 09 '26 16:02 felixfontein

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.

Tortenschmeisser avatar Feb 10 '26 07:02 Tortenschmeisser

Ref: https://github.com/getsops/sops/issues/2060#issuecomment-3879587427

felixfontein avatar Feb 10 '26 17:02 felixfontein