CVE-2024-35232 json
github.com/huandu/facebook may expose access_token in error message
published 2024-05-24 2 y ago modified 2026-09-10 1 mo ago also GHSA-3f65-m234-9mxr , GO-2024-2882 , EUVD-2024-1387
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/huandu/facebook/v2 | <2.7.2 |
2.7.2 |
| go | github.com/huandu/facebook | all versions |
no fix listed |
Affected products
- huandu facebook
- facebook facebook
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
github.com
/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4
web, patch
-
github.com
/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr
web, advisory
-
cs.opensource.google
/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633
web
-
cs.opensource.google
/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30
web
-
github.com
/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-35232
advisory
-
github.com
/huandu/facebook
package
Sources
- CVE List CVE-2024-35232
- GitHub Advisory GHSA-3f65-m234-9mxr
- NVD CVE-2024-35232
- OSV GO-2024-2882
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.