CVE-2024-28110
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
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.
- Record
CVE-2024-28110- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
EUVDEUVD-2024-0835
7.5
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.
- Record
EUVD-2024-0835- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5pf6-2qwx-pxm2
7.5
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
Impact
What kind of vulnerability is it? Who is impacted? Using cloudevents.WithRoundTripper to create a cloudevents.Client with an authenticated http.RoundTripper causes the go-sdk to leak credentials to arbitrary endpoints.
The relevant code is here (also inline, emphasis added):
<pre>if p.Client == nil { p.Client = **http.DefaultClient** } if p.roundTripper != nil { p.Client.**Transport = p.roundTripper** } </pre>
When the transport is populated with an authenticated transport such as:
... then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to any endpoint it is used to contact!
Found and patched by: @tcnghia and @mattmoor
Patches
v.2.15.2
- Record
GHSA-5pf6-2qwx-pxm2- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2024-28110- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
OSV
7.5
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
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.
- Record
CVE-2024-28110- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
OSVGHSA-5pf6-2qwx-pxm2
7.5
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
Impact
What kind of vulnerability is it? Who is impacted? Using cloudevents.WithRoundTripper to create a cloudevents.Client with an authenticated http.RoundTripper causes the go-sdk to leak credentials to arbitrary endpoints.
The relevant code is here (also inline, emphasis added):
<pre>if p.Client == nil { p.Client = **http.DefaultClient** } if p.roundTripper != nil { p.Client.**Transport = p.roundTripper** } </pre>
When the transport is populated with an authenticated transport such as:
... then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to any endpoint it is used to contact!
Found and patched by: @tcnghia and @mattmoor
Patches
v.2.15.2
- Record
GHSA-5pf6-2qwx-pxm2- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
Show 4 moreShow less
OSVRHEA-2024:4022
7.5
Red Hat Enhancement Advisory: Red Hat OpenShift Pipelines Client tkn for 1.15.0 release
- Record
RHEA-2024:4022- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-35751 No score
CVE-2024-28110 affecting package telegraf for versions less than 1.31.0-1
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.
- Record
AZL-35751- Updated
- 2026-11-02
OSVAZL-35761 No score
CVE-2024-28110 affecting package telegraf for versions less than 1.28.5-5
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.
- Record
AZL-35761- Updated
- 2026-11-02
OSVGO-2024-2618 No score
Authentication token leak in github.com/cloudevents/sdk-go/v2
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, http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to any endpoint it is used to contact.
- Record
GO-2024-2618- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/cloudevents/sdk-go/v2Go |
through 2.15.1 | 2.15.2 |
telegrafAzure Linux:3 |
before 1.31.0-1 | 1.31.0-1 |
telegrafAzure Linux:2 |
before 1.28.5-5 | 1.28.5-5 |
github.com/cloudevents/sdk-go/v2Go |
before 2.15.2 | 2.15.2 |
openshift-pipelines-clientRed Hat:openshift_pipelines:1.15::el8 From an advisory covering 5 CVEs |
before 0:1.15.0-11496.el8 | 0:1.15.0-11496.el8 |
openshift-pipelines-client-redistributableRed Hat:openshift_pipelines:1.15::el8 From an advisory covering 5 CVEs |
before 0:1.15.0-11496.el8 | 0:1.15.0-11496.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-28110 is a high vulnerability (CVSS 7.5) in Cloudevents Go Sdk, published March 6, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.66%, the 51st percentile. Fixed in github.com/cloudevents/sdk-go/v2 2.15.2.
References
github.com/cloudevents/sdk-go/security/advisories/GHSA-5pf6-2qwx-pxm2
github.com/cloudevents/sdk-go/commit/de2f28370b0d2a0f64f92c0c6139fa4b8a7c3851
github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go
github.com/advisories/GHSA-5pf6-2qwx-pxm2
nvd.nist.gov/vuln/detail/CVE-2024-28110
github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28110.json
Show 30 moreShow less
github.com/cloudevents/sdk-go
access.redhat.com/errata/RHEA-2024:4022
docs.openshift.com/container-platform/4.14/cli_reference/tkn_cli/installing-tkn.html
issues.redhat.com/browse/SRVKP-3124
security.access.redhat.com/data/csaf/v2/advisories/2024/rhea-2024_4022.json
access.redhat.com/security/cve/CVE-2023-45288
bugzilla.redhat.com/show_bug.cgi?id=2268273
cve.org/CVERecord?id=CVE-2023-45288
nvd.nist.gov/vuln/detail/CVE-2023-45288
nowotarski.info/http2-continuation-flood
pkg.go.dev/vuln/GO-2024-2687
kb.cert.org/vuls/id/421644
access.redhat.com/security/cve/CVE-2024-28110
bugzilla.redhat.com/show_bug.cgi?id=2268372
cve.org/CVERecord?id=CVE-2024-28110
access.redhat.com/security/cve/CVE-2024-28180
bugzilla.redhat.com/show_bug.cgi?id=2268854
cve.org/CVERecord?id=CVE-2024-28180
nvd.nist.gov/vuln/detail/CVE-2024-28180
github.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6g
access.redhat.com/security/cve/CVE-2024-29902
bugzilla.redhat.com/show_bug.cgi?id=2274508
cve.org/CVERecord?id=CVE-2024-29902
nvd.nist.gov/vuln/detail/CVE-2024-29902
github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qc
access.redhat.com/security/cve/CVE-2024-29903
bugzilla.redhat.com/show_bug.cgi?id=2274504
cve.org/CVERecord?id=CVE-2024-29903
nvd.nist.gov/vuln/detail/CVE-2024-29903
github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv