CVE-2024-21624

MEDIUM
Published Feb 9, 2024 Modified Nov 21, 2024 CWE-200

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.

Is your site exposed to CVE-2024-21624?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.7
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-200 CWE-200

Affected Products

Vendor Product
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot
nonebot nonebot

References

Frequently Asked Questions

What is CVE-2024-21624? +
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. It has a CVSS v3.1 base score of 5.7 (MEDIUM).
How severe is CVE-2024-21624? +
CVE-2024-21624 has a CVSS v3.1 score of 5.7 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-21624? +
CVE-2024-21624 affects products from nonebot, specifically: nonebot. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-21624? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-21624 — free, no signup required.