{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cloudevents/sdk-go/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-28110 in the wild and no public exploit code.","fix":"Upgrade github.com/cloudevents/sdk-go/v2 to 2.15.2 or later.","what":"CVE-2024-28110 is a high-severity vulnerability in cloudevents sdk-go, published on 6 Mar 2024."},"fix_prompt":"Check this codebase for CVE-2024-28110 and fix it if it is affected.\n\nWhat it is: CVE-2024-28110 is a high-severity vulnerability in cloudevents sdk-go, published on 6 Mar 2024. \nExploitation: There is no known exploitation of CVE-2024-28110 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cloudevents/sdk-go/v2 (Go): affected all versions; fixed in 2.15.2\n- github.com/cloudevents/sdk-go/v2 (Go): affected all versions; fixed in 2.15.2\n- github.com/cloudevents/sdk-go/v2 (Go): affected all versions; fixed in 2.15.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28110/ (Markdown: https://insights.sbomify.com/CVE-2024-28110/index.md)","id":"CVE-2024-28110","markdown":"https://insights.sbomify.com/CVE-2024-28110/index.md","name":"CVE-2024-28110","record":{"aliases":["AZL-35751","AZL-35761","CLEANSTART-2025-EV96461","GHSA-5pf6-2qwx-pxm2","GO-2024-2618"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"go_sdk","vendor":"cloudevents"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials","id":"CVE-2024-28110","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"CSV Injection in exported history CSV files","id":"CVE-2024-28111"},"packages":[{"ecosystem":"Go","fixed":["2.15.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudevents/sdk-go/v2","purl":null,"source":"GHSA-5pf6-2qwx-pxm2"},{"ecosystem":"Go","fixed":["2.15.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudevents/sdk-go/v2","purl":"pkg:golang/github.com/cloudevents/sdk-go/v2","source":"GHSA-5pf6-2qwx-pxm2"},{"ecosystem":"Go","fixed":["2.15.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudevents/sdk-go/v2","purl":"pkg:golang/github.com/cloudevents/sdk-go/v2","source":"GO-2024-2618"}],"prev":{"headline":"Potential XSLT injection vulnerability when using policy files","id":"CVE-2024-28109"},"products":["sdk-go"],"published":"2024-03-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-16","vendors":["cloudevents"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-28110/"}