Skip to main content
← All vulnerabilities
CVE-2024-28110GHSA-5PF6-2QWX-PXM2GO-2024-2618

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.15.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cloudevents sdk-go

    fixed in 2.15.2

  • github.com/cloudevents/sdk-go/v2Go

    fixed in 2.15.2

References 3

GitHub · cloudevents/sdk-go