Advisory

GO-2024-2618

Also known as: CVE-2024-28110, GHSA-5pf6-2qwx-pxm2

Summary

Authentication token leak in github.com/cloudevents/sdk-go/v2

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-03-11 20:10 UTC
Modified
2026-02-04 03:20 UTC

Affected packages and fixes

github.com/cloudevents/sdk-go/v2

Go · All systems

Affected

  • introduced 0, fixed 2.15.2 (semver)

Fixed versions

2.15.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences