Bug 2350816

Summary: CVE-2025-22869 docker-compose: Denial of Service in the Key Exchange of golang.org/x/crypto/ssh [fedora-41]
Product: [Fedora] Fedora Reporter: Anten Skrabec <askrabec>
Component: docker-composeAssignee: Brad Smith <bradley.g.smith>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 41CC: bradley.g.smith, error, go-sig, maxwell, sergio, ttomecek
Target Milestone: ---Keywords: Reopened, Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["9f978159-dda3-482c-997c-330bc6def185"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-10 14:28:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2348367    

Description Anten Skrabec 2025-03-08 01:16:32 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2348367

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Brad Smith 2025-03-08 17:09:25 UTC
Using 

rpm -qpl --provides docker-compose-2.30.3-1.fc41.x86_64.rpm  | less 

demonstrates that the golang.org/x/crypto/ssh package is not present in docker-compose for F41.

output excerpt below:

bundled(golang(go.uber.org/mock)) = 0.5.0
bundled(golang(golang.org/x/crypto)) = 0.26.0
bundled(golang(golang.org/x/exp)) = 9b4947d
bundled(golang(golang.org/x/net)) = 0.28.0
bundled(golang(golang.org/x/oauth2)) = 0.22.0
bundled(golang(golang.org/x/sync)) = 0.8.0
bundled(golang(golang.org/x/sys)) = 0.26.0
bundled(golang(golang.org/x/term)) = 0.23.0
bundled(golang(golang.org/x/text)) = 0.17.0
bundled(golang(golang.org/x/time)) = 0.6.0
bundled(golang(google.golang.org/genproto)) = ef43131

Comment 2 Brad Smith 2025-03-08 18:42:38 UTC
My mistake reading the list of provides. x/crypto will, potentially, also include x/crypto/ssh. Reopening.

Comment 3 Brad Smith 2025-03-10 14:28:22 UTC
Docker-compose does not function as an ssh client or ssh server.