{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21624","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-12-29T03:00:44.953Z","datePublished":"2024-02-09T22:16:49.974Z","dateUpdated":"2024-08-01T22:27:35.692Z"},"containers":{"cna":{"title":"Potential Information Leak in User-Constructed Message Templates in nonebot2","problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg"},{"name":"https://github.com/nonebot/nonebot2/pull/2509","tags":["x_refsource_MISC"],"url":"https://github.com/nonebot/nonebot2/pull/2509"}],"affected":[{"vendor":"nonebot","product":"nonebot2","versions":[{"version":">= 2.0.0a16, < 2.2.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-02-09T22:16:49.974Z"},"descriptions":[{"lang":"en","value":"nonebot2 is a cross-platform Python asynchronous chatbot framework written in Python. This security advisory pertains to a potential information leak (e.g., environment variables) in instances where developers utilize `MessageTemplate` and incorporate user-provided data into templates. The identified vulnerability has been remedied in pull request #2509 and will be included in versions released from 2.2.0. Users are strongly advised to upgrade to these patched versions to safeguard against the vulnerability. A temporary workaround involves filtering underscores before incorporating user input into the message template."}],"source":{"advisory":"GHSA-59j8-776v-xxxg","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-21624","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-02-11T17:00:54.232350Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-05T17:20:49.630Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T22:27:35.692Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg"},{"name":"https://github.com/nonebot/nonebot2/pull/2509","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/nonebot/nonebot2/pull/2509"}]}]}}