CVE-2024-28110
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
Reported by github_m · Published March 6, 2024
github.com/cloudevents/sdk-go/v2 is fixed in 2.15.2 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/cloudevents/sdk-go/v2 | Go Modules | 2.15.2 |
| tekton-pipelines | Wolfi | 0.57.0-r0 |
| falcosidekick | Chainguard | 2.28.0-r2 |
| guac | Wolfi | 0.5.1-r0 |
| telegraf-1.27 | Chainguard | 1.27.4-r13 |
| telegraf-1.29 | Wolfi | 1.29.5-r2 |
| keda | Chainguard | 2.13.1-r1 |
| keda | Wolfi | 2.13.1-r1 |
| falcosidekick | Wolfi | 2.28.0-r2 |
| guac | Chainguard | 0.5.1-r0 |
| telegraf-1.28 | Chainguard | 1.28.5-r6 |
| telegraf-1.27 | Wolfi | 1.27.4-r13 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cloudevents | sdk-go | < 2.15.2 |
| wolfi | tekton-pipelines | 0 |
| chainguard | falcosidekick | 0 |
| wolfi | guac | 0 |
| chainguard | telegraf-1.27 | 0 |
| wolfi | telegraf-1.29 | 0 |
| chainguard | keda | 0 |
| wolfi | keda | 0 |
| wolfi | falcosidekick | 0 |
| chainguard | guac | 0 |
| cloudevents | sdk_go | 0 |
| github.com | cloudevents/sdk-go/v2 | 0 |
| chainguard | telegraf-1.28 | 0 |
| wolfi | telegraf-1.27 | 0 |
| wolfi | telegraf-1.28 | 0 |
| chainguard | tekton-pipelines | 0 |
| cloudevents | sdk-go | 0 |
| chainguard | keda-fips | 0 |
| chainguard | falcosidekick-fips | 0 |
| chainguard | telegraf-1.29 | 0 |
Timeline
- Mar 6, 2024 CVE Published
- Mar 6, 2024 PoC Published (3 in total, the first dated here)
- Mar 7, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Nov 24, 2024 CVE Updated
- Jan 14, 2026 Security Advisory (59 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (57 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-28110
vulnetix vdb fixes CVE-2024-28110
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-28110/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/cloudevents/sdk-go/security/advisories/GHSA-5pf6-2qwx-pxm2 x_refsource_CONFIRM
- https://github.com/cloudevents/sdk-go/commit/de2f28370b0d2a0f64f92c0c6139fa4b8a7c3851 x_refsource_MISC
- https://github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-28110 advisory
- https://github.com/advisories/GHSA-5pf6-2qwx-pxm2 advisory
- https://github.com/cloudevents/sdk-go url