CVE-2024-28110
CVE-2024-28110 · Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
CVSS 7.5 · High · EPSS 0.7%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- sdk-goNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHEA-2024:4022 · Red Hat openshift pipelines 1.15 el8 ·
Affected products and versions
sdk-go
- Versions
- < 2.15.2: Affected
No fix published
Original sources
- https://github.com/cloudevents/sdk-go/security/advisories/GHSA-5pf6-2qwx-pxm2
- https://github.com/cloudevents/sdk-go/commit/de2f28370b0d2a0f64f92c0c6139fa4b8a7c3851
- https://github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110
- https://nvd.nist.gov/vuln/detail/CVE-2024-28110