CVE-2024-28110

Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials

Published Mar 6, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0835 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.
Github GHSA Github GHSA GHSA-5pf6-2qwx-pxm2 Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials
History
Type Values Removed Values Added
First Time appeared Cloudevents go Sdk
CPEs cpe:2.3:a:cloudevents:go_sdk:*:*:*:*:*:*:*:*
Vendors & Products Cloudevents go Sdk
Type Values Removed Values Added
First Time appeared Cloudevents
Cloudevents sdk Go
CPEs cpe:2.3:a:cloudevents:sdk_go:*:*:*:*:*:*:*:*
Vendors & Products Cloudevents
Cloudevents sdk Go
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.15::el8
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 16, 2025, 3:54 PM
Reserved
Mar 4, 2024, 2:19 PM
Status
Analyzed
Published
Mar 6, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:20 AM
Severity
Moderate
Public date
Mar 6, 2024, 12:00 AM