—
GO-2024-2882
github.com/huandu/facebook may expose access_token in error message.
Quick fix
GO-2024-2882 — github.com/huandu/facebook/v2: upgrade to the fixed version with the command below.
go get github.com/huandu/facebook/v2@v2.7.2Details
github.com/huandu/facebook may expose access_token in error message.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/huandu/facebook
Introduced in:
0No fixed version published yet for github.com/huandu/facebook (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/huandu/facebook/v2
Introduced in:
0Fixed in: 2.7.2Fix
go get github.com/huandu/facebook/v2@v2.7.2References
- https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2024-35232[ADVISORY]
- https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4[FIX]
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633[WEB]
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30[WEB]
- https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567[WEB]