CVE-2024-28110 Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-28110?
CVE-2024-28110 is a high-severity vulnerability in cloudevents sdk-go, published on 6 Mar 2024.
Official description
Go SDK for CloudEvents is the official CloudEvents SDK to integrate applications with CloudEvents. Prior to version 2.15.2, using cloudevents.WithRoundTripper to create a cloudevents.Client with an authenticated http.RoundTripper causes the go-sdk to leak credentials to arbitrary endpoints. 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. Version 2.15.2 patches this issue.
Weakness: CWE-522
Which versions are affected by CVE-2024-28110?
3 open source packages ship an affected version, including github.com/cloudevents/sdk-go/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cloudevents/sdk-go/v2 Go | All versions | 2.15.2 |
github.com/cloudevents/sdk-go/v2 Go | All versions | 2.15.2 |
github.com/cloudevents/sdk-go/v2 Go | All versions | 2.15.2 |
Products include Cloudevents Go Sdk.
How do I fix CVE-2024-28110?
Upgrade github.com/cloudevents/sdk-go/v2 to 2.15.2 or later.
Is CVE-2024-28110 being exploited?
There is no known exploitation of CVE-2024-28110 in the wild and no public exploit code.
Sources
Also known as AZL-35751, AZL-35761, CLEANSTART-2025-EV96461, GHSA-5pf6-2qwx-pxm2, GO-2024-2618.