SB2024040352 - Credentials disclosure in Go SDK for CloudEvents



SB2024040352 - Credentials disclosure in Go SDK for CloudEvents

Published: April 3, 2024

Security Bulletin ID SB2024040352
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Unprotected Transport of Credentials (CVE-ID: CVE-2024-28110)

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exist due to an error in the cloudevents.WithRoundTripper method used for creation of a cloudevents.Client with an authenticated http.RoundTripper. 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. As a result, a remote attacker can intercept credentials leaked by the go-sdk.


Remediation

Install update from vendor's website.