CVE-2024-35232 (GCVE-0-2024-35232)
Vulnerability from cvelistv5 – Published: 2024-05-24 20:44 – Updated: 2024-08-02 03:07
VLAI
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.
Severity
CWE
- CWE-209 - Generation of Error Message Containing Sensitive Information
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/huandu/facebook/security/advis… | x_refsource_CONFIRM |
| https://github.com/huandu/facebook/commit/8b34431… | x_refsource_MISC |
| https://cs.opensource.google/go/go/+/refs/tags/go… | x_refsource_MISC |
| https://cs.opensource.google/go/go/+/refs/tags/go… | x_refsource_MISC |
| https://github.com/huandu/facebook/blob/1591be276… | x_refsource_MISC |
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:facebook:facebook:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "facebook",
"vendor": "facebook",
"versions": [
{
"lessThanOrEqual": "2.7.1",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-35232",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-05-28T15:09:27.854178Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-05T19:00:46.713Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T03:07:46.857Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr"
},
{
"name": "https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4"
},
{
"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/http/client.go;l=629-633"
},
{
"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://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30"
},
{
"name": "https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "facebook",
"vendor": "huandu",
"versions": [
{
"status": "affected",
"version": "\u003c= 2.7.1"
}
]
}
],
"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"
}
],
"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",
"description": "CWE-209: Generation of Error Message Containing Sensitive Information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-05-24T20:44:09.233Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr"
},
{
"name": "https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4"
},
{
"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/http/client.go;l=629-633"
},
{
"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://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30"
},
{
"name": "https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567"
}
],
"source": {
"advisory": "GHSA-3f65-m234-9mxr",
"discovery": "UNKNOWN"
},
"title": "github.com/huandu/facebook may expose access_token in error message"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-35232",
"datePublished": "2024-05-24T20:44:09.233Z",
"dateReserved": "2024-05-14T15:39:41.785Z",
"dateUpdated": "2024-08-02T03:07:46.857Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-35232",
"date": "2026-05-26",
"epss": "0.00076",
"percentile": "0.22677"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-35232\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-05-24T21:15:59.450\",\"lastModified\":\"2024-11-21T09:19:59.250\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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\"},{\"lang\":\"es\",\"value\":\"github.com/huandu/facebook es un paquete Go que es totalmente compatible con la API Graph de Facebook con carga de archivos, solicitud por lotes y API de marketing. access_token puede exponerse en un mensaje de error si falla la solicitud HTTP. Este problema se solucion\u00f3 en la versi\u00f3n 2.7.2.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N\",\"baseScore\":3.7,\"baseSeverity\":\"LOW\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.2,\"impactScore\":1.4}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-209\"}]}],\"references\":[{\"url\":\"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"cna\": {\"title\": \"github.com/huandu/facebook may expose access_token in error message\", \"problemTypes\": [{\"descriptions\": [{\"cweId\": \"CWE-209\", \"lang\": \"en\", \"description\": \"CWE-209: Generation of Error Message Containing Sensitive Information\", \"type\": \"CWE\"}]}], \"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\"}}], \"references\": [{\"name\": \"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr\", \"tags\": [\"x_refsource_CONFIRM\"], \"url\": \"https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr\"}, {\"name\": \"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4\"}, {\"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/http/client.go;l=629-633\"}, {\"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://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30\"}, {\"name\": \"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567\"}], \"affected\": [{\"vendor\": \"huandu\", \"product\": \"facebook\", \"versions\": [{\"version\": \"\u003c= 2.7.1\", \"status\": \"affected\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-05-24T20:44:09.233Z\"}, \"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\"}], \"source\": {\"advisory\": \"GHSA-3f65-m234-9mxr\", \"discovery\": \"UNKNOWN\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35232\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-28T15:09:27.854178Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:facebook:facebook:*:*:*:*:*:*:*:*\"], \"vendor\": \"facebook\", \"product\": \"facebook\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"2.7.1\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-28T15:10:40.826Z\"}}]}",
"cveMetadata": "{\"cveId\": \"CVE-2024-35232\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"GitHub_M\", \"dateReserved\": \"2024-05-14T15:39:41.785Z\", \"datePublished\": \"2024-05-24T20:44:09.233Z\", \"dateUpdated\": \"2024-06-05T19:00:46.713Z\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…