Unprotected Transport of Credentials in Go SDK for CloudEvents - CVE-2024-28110

 

Unprotected Transport of Credentials in Go SDK for CloudEvents - CVE-2024-28110

Published: April 3, 2024


Vulnerability identifier: #VU88097
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-28110
CWE-ID: CWE-523
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exist due to an error in the cloudevents.WithRoundTripper method used for creation of a cloudevents.Client with an authenticated http.RoundTripper. When the transport is populated with an authenticated transport, then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to any endpoint it is used to contact. As a result, a remote attacker can intercept credentials leaked by the go-sdk.


Affected software

Go SDK for CloudEvents
Red Hat OpenShift Serverless
Red Hat OpenShift Container Platform

How to mitigate CVE-2024-28110

Install updates from vendor's website.

Go SDK for CloudEvents - update to 2.15.2
Red Hat OpenShift Serverless - update to 1.32.0
Red Hat OpenShift Container Platform - addressed in versions 4.15.37, 4.16.0

External References

Related Security Bulletins