CVE-2024-21624
Last modified
CVE-2024-21624 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nonebot | Nonebot | >= 2.0.1, < 2.2.0 |
| Nonebot | Nonebot | 2.0.0 |
References
- https://github.com/nonebot/nonebot2/pull/2509Issue Tracking, Patch
- https://github.com/nonebot/nonebot2/pull/2509Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-21624?
How severe is CVE-2024-21624?
How do I fix CVE-2024-21624?
Are you affected by CVE-2024-21624?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
