CVE-2024-21624 Details
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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 11, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nonebot/nonebot2/pull/2509 | CVE | Issue TrackingPatch |
| https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg | CVE | Vendor Advisory |
| https://github.com/nonebot/nonebot2/pull/2509 | [email protected] | Issue TrackingPatch |
| https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nonebot nonebot | >= 2.0.1, < 2.2.0 2.0.0 - 2.0.0 alpha16 2.0.0 beta1 2.0.0 beta2 2.0.0 beta3 2.0.0 beta4 2.0.0 beta5 2.0.0 rc1 2.0.0 rc2 2.0.0 rc3 2.0.0 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 16, 2024 | Initial Analysis | [email protected] |
| Feb 9, 2024 | New CVE Received | [email protected] |