{"id":"CVE-2024-35232","state":"PUBLISHED","title":"github.com/huandu/facebook may expose access_token in error message","description":"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","publishedAt":"2024-05-24T20:44:09.233Z","updatedAt":"2024-08-02T03:07:46.857Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["huandu facebook"],"affected":[{"vendor":"huandu","product":"facebook","versions":[{"version":"<= 2.7.1","status":"affected"}]}],"references":["https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr","https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4","https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633","https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30","https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35232.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-35232","state":"PUBLISHED","datePublished":"2024-05-24T20:44:09.233Z","dateUpdated":"2024-08-02T03:07:46.857Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-14T15:39:41.785Z"},"containers":{"cna":{"title":"github.com/huandu/facebook may expose access_token in error message","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"huandu","product":"facebook","versions":[{"version":"<= 2.7.1","status":"affected"}]}],"references":[{"url":"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr","name":"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4","name":"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4","tags":["x_refsource_MISC"]},{"url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633","name":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633","tags":["x_refsource_MISC"]},{"url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30","name":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30","tags":["x_refsource_MISC"]},{"url":"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567","name":"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","lang":"en","description":"CWE-209: Generation of Error Message Containing Sensitive Information","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-24T20:44:09.233Z"},"source":{"advisory":"GHSA-3f65-m234-9mxr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"facebook","product":"facebook","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.7.1","versionType":"custom"}],"cpes":["cpe:2.3:a:facebook:facebook:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-28T15:09:27.854178Z","id":"CVE-2024-35232","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T19:00:46.713Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr","name":"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4","name":"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633","name":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30","name":"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567","name":"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:07:46.857Z"}}]}}}