CVE-2024-28110
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.
How to fix
- github.com/cloudevents/sdk-go/v22.15.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cloudevents go_sdk | v ≤ 2.15.1 | — |
| github.com/cloudevents/sdk-go/v2Go | v < 2.15.2 | 2.15.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.