{"id":"CVE-2024-35232","summary":"github.com/huandu/facebook may expose access_token in error message","details":"github.com/huandu/facebook is a Go package that fully supports the Facebook Graph API with file upload, batch request and marketing API. access_token can be exposed in error message on fail in HTTP request. This issue has been patched in version 2.7.2.\n","aliases":["GHSA-3f65-m234-9mxr","GO-2024-2882"],"modified":"2026-05-18T12:03:01.122568816Z","published":"2024-05-24T20:44:09.233Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35232.json","cwe_ids":["CWE-209"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633"},{"type":"WEB","url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30"},{"type":"WEB","url":"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35232.json"},{"type":"ADVISORY","url":"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35232"},{"type":"FIX","url":"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/huandu/facebook","events":[{"introduced":"0"},{"fixed":"8b34431b91b32903c8821b1d7621bf81a029d8e4"}]}],"versions":["v2.7.1","v2.7.0","v2.6.0","v2.5.6","v2.5.5","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v1.8.1","v1.8.0","v1.6.0","v1.7.1","v1.7.0","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35232.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}