Skip to content
OpenAdvisories
High · 7.5 CVE-2024-28110 EUVD-2024-0835GHSA-5pf6-2qwx-pxm2GO-2024-2618

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

Published Mar 6, 2024 · Updated Apr 16, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
cloudevents sdk-go < 2.15.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Openshift Pipelines 1 openshift-pipelines-client +1 1.15.0-11496.el8 RHEA-2024:4022

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 telegraf 1.31.0-1 —
Azure Linux 2 (CBL-Mariner) telegraf 1.28.5-5 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling falcosidekick 2.28.0-r2 —
Wolfi rolling guac 0.5.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudevents/sdk-go/v2 < 2.15.2 2.15.2 GHSA-5pf6-2qwx-pxm2

Advisories 3

References