Skip to content
Heist/ feed
Back to feed
Low

github.com/huandu/facebook may expose access_token in error message

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-35232
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:10 UTC · Revision 1

Source evidence

github.com/huandu/facebook may expose access_token in error message

core-osv · Original source

Published 24 May 2024, 20:44 UTC

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.

osv:CVE-2024-35232
Complete source record
{
  "id": "9d255192f7b3d50f1cb218c6b34009bca996ed6bbf3a7a1fb529763c621ed215",
  "url": "https://osv.dev/vulnerability/CVE-2024-35232",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "github.com/huandu/facebook may expose access_token in error message",
    "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.",
    "evidence": "osv:CVE-2024-35232",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-35232",
      "aliases": [
        "CVE-2024-35232",
        "GHSA-3f65-m234-9mxr",
        "GO-2024-2882"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/huandu/facebook",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8b34431b91b32903c8821b1d7621bf81a029d8e4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.7.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8b34431b91b32903c8821b1d7621bf81a029d8e4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "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/cve-osv-conversion/osv-output/CVE-2024-35232.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.947453842Z",
      "provider": "osv",
      "references": [
        "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35232.json",
        "https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35232",
        "https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-209"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35232.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35232",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521659,
  "published_at": "2024-05-24T20:44:09.233+00:00"
}