CVE-2024-28110 json
Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
published 2024-03-06 2 y ago modified 2026-09-10 1 mo ago also GHSA-5pf6-2qwx-pxm2 , GO-2024-2618 , EUVD-2024-0835
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/cloudevents/sdk-go/v2 2.15.2
- cloudevents sdk_go 2.15.2
- openshift-pipelines-client openshift pipelines 1.15 1.15.0-11496.el8
- openshift-pipelines-client-redistributable openshift pipelines 1.15 1.15.0-11496.el8
red hat advisories RHEA-2024:4022
- telegraf Azure Linux 3.0 1.31.0-1
- telegraf CBL-Mariner 2.0 1.28.5-5
azure linux advisories AZL-35751AZL-35761
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-28110 updated cvss 6.5
cloudevents/sdk-go: usage of WithRoundTripper to create a Client leaks credentials
-
Red Hat OpenShift Pipelines version 1.15 for RHEL 8 openshift-pipelines-client 1.15.0-11496.el8, openshift-pipelines-client-redistributable 1.15.0-11496.el8fixed: vendor fix RHEA-2024:4022
-
Red Hat OpenShift Container Platform 4.15 openshift4/ose-console v4.15.0-202410240435.p0.g51f940e.assembly.stream.el8fixed: vendor fix RHSA-2024:8425
-
Red Hat OpenShift Container Platform 4.16 openshift4/ose-console-rhel9 v4.16.0-202406140306.p0.gcb7b078.assembly.stream.el9, openshift4/ose-ptp-rhel9-operator v4.16.0-202406131906.p0.gc8a5dbf.assembly.stream.el9, openshift4/ose-cloud-event-proxy-rhel9 v4.16.0-202406131906.p0.g3279440.assembly.stream.el9fixed: vendor fix RHSA-2024:0040
-
Red Hat OpenShift Serverless 1.32 openshift-serverless-1/client-kn-rhel8 1.11.2-4, openshift-serverless-1/func-utils-rhel8 1.32.0-3, openshift-serverless-1/serving-queue-rhel8 1.11.0-2, openshift-serverless-1/eventing-mtping-rhel8 1.11.0-4, openshift-serverless-1/kourier-control-rhel8 1.11.0-2, openshift-serverless-1/serving-webhook-rhel8 1.11.0-2, +35 morefixed: vendor fix RHSA-2024:1333
-
Red Hat OpenShift Serverless openshift-serverless-clients Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202410232038-0, openshift4/ose-cli v4.15.0-202410230304.p0.g8231637.assembly.stream.el8, openshift4/ose-tests v4.15.0-202410230304.p0.g7db90dc.assembly.stream.el8, openshift4/ose-deployer v4.15.0-202410230304.p0.g8231637.assembly.stream.el8, openshift4/ose-installer v4.15.0-202410230304.p0.g3bab4e9.assembly.stream.el8, openshift4/ose-pod-rhel9 v4.15.0-202410232006.p0.g502c5ce.assembly.stream.el9, +186 more Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202406172220-0, openshift4/frr-rhel9 v4.16.0-202406131906.p0.g395104b.assembly.stream.el9, openshift4/metallb-rhel9 v4.16.0-202406131906.p0.g83eca94.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.16.0-202406131906.p0.ga245041.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.16.0-202406170957.p0.g29c95f3.assembly.stream.el9, openshift4/ose-ptp-rhel9 v4.16.0-202406131906.p0.g4447317.assembly.stream.el9, +232 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/cloudevents/sdk-go/v2 | <2.15.2 |
2.15.2 |
Affected products
- cloudevents sdk-go
- cloudevents sdk_go
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
References
-
github.com
/cloudevents/sdk-go/commit/de2f28370b0d2a0f64f92c0c6139fa4b8a7c3851
web, patch
-
github.com
/cloudevents/sdk-go/security/advisories/GHSA-5pf6-2qwx-pxm2
web, vendor-advisory, advisory
-
github.com
/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110
web, product
-
github.com
/cloudevents/sdk-go
package
Sources
- CVE List CVE-2024-28110
- GitHub Advisory GHSA-5pf6-2qwx-pxm2
- NVD CVE-2024-28110
- OSV GO-2024-2618
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.