Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nonebot | Nonebot | >= 2.0.1, < 2.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/nonebot/nonebot2/pull/2509Issue TrackingPatch
- https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxgVendor Advisory
- https://github.com/nonebot/nonebot2/pull/2509Issue TrackingPatch
- https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxgVendor Advisory
FAQ
What is CVE-2024-21624?
CVE-2024-21624 is a vulnerability with a CVSS score of 5.7 (MEDIUM). 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 d...
How severe is CVE-2024-21624?
CVE-2024-21624 has been rated MEDIUM with a CVSS base score of 5.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21624?
Check the references section above for vendor advisories and patch information. Affected products include: Nonebot Nonebot.