Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-522.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cloudevents | sdk-go | before 2.15.2 | 2.15.2 | Patch available | CNA |
| — | github.com/cloudevents/sdk-go/v2 (Go) | before 2.15.2 | 2.15.2 | Patch available | GHSA-5pf6-2qwx-pxm2 |
- sdk-go Vendorcloudevents Affected before 2.15.2 Fixed in 2.15.2 Patch available CNA
- github.com/cloudevents/sdk-go/v2 (Go) Vendor— Affected before 2.15.2 Fixed in 2.15.2 Patch available GHSA-5pf6-2qwx-pxm2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cloudevents:go_sdk:*:*:*:*:*:*:*:* | up to 2.15.1 | Vulnerable | cloudevents |
- cpe:2.3:a:cloudevents:go_sdk:*:*:*:*:*:*:*:* Versions up to 2.15.1 Vulnerable ·cloudevents
Remediation
- Fix · CNA sdk-go (cloudevents) Fixed in 2.15.2
- Fix · GHSA-5pf6-2qwx-pxm2 github.com/cloudevents/sdk-go/v2 (Go) Fixed in 2.15.2 Advisory →
Red Hat 4 advisories
- RHSA-2024:8425 Released 2024-10-31 · Red Hat rating ImportantOpenShift Container Platform 4.15.37 bug fix and security update
- Red Hat OpenShift Container Platform 4.15 openshift4/cloud-network-config-controller-rhel8, openshift4/egress-router-cni-rhel8, openshift4/kube-metrics-server-rhel8 +47
- RHSA-2024:0041 Released 2024-06-27 · Red Hat rating CriticalOpenShift Container Platform 4.16.0 bug fix and security update
- Red Hat OpenShift Container Platform 4.16 openshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/cloud-network-config-controller-rhel9 +47
- RHSA-2024:0040 Released 2024-06-27 · Red Hat rating CriticalOpenShift Container Platform 4.16.0 security and extras update
- Red Hat OpenShift Container Platform 4.16 openshift4/ose-ansible-operator, openshift4/ose-aws-efs-csi-driver-container-rhel9, openshift4/ose-cloud-event-proxy-rhel9 +11
Show 1 more Red Hat advisories
- RHSA-2024:1333 Released 2024-03-14 · Red Hat rating ModerateRelease of OpenShift Serverless 1.32.0
- Red Hat OpenShift Serverless 1.32 openshift-serverless-1-tech-preview/eventing-istio-controller-rhel8, openshift-serverless-1-tech-preview/knative-client-plugin-event-sender-rhel8, openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8 +38
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Pipelines version 1.15 for RHEL 8 | Fixed | — |
| Red Hat OpenShift Container Platform 4.15 | Fixed | RHSA-2024:8425 |
| Red Hat OpenShift Container Platform 4.16 | Fixed | RHSA-2024:0040, RHSA-2024:0041 |
| Red Hat OpenShift Serverless 1.32 | Fixed | RHSA-2024:1333 |
Not affected: 3 products
- OpenShift Serverless
- Red Hat OpenShift Container Platform 4.15
- Red Hat OpenShift Container Platform 4.16
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28110
- 2026-10-03 Alias added: GHSA-5pf6-2qwx-pxm2
- 2026-10-07 EPSS moved to the 50th–90th percentile
References
Sources
- CVE-2024-28110 · CVE Program
- CVE-2024-28110 · NVD
- FIRST EPSS
- GHSA-5pf6-2qwx-pxm2 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-28110 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences