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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nonebot:nonebot:*:*:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:-:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:alpha16:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta5:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc4:*:*:*:*:*:*

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/nonebot/nonebot2/pull/2509 - Issue Tracking, Patch () https://github.com/nonebot/nonebot2/pull/2509 - Issue Tracking, Patch
References () https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg - Vendor Advisory () https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg - Vendor Advisory
CVSS v2 : unknown
v3 : 6.5
v2 : unknown
v3 : 5.7

16 Feb 2024, 13:52

Type Values Removed Values Added
References () https://github.com/nonebot/nonebot2/pull/2509 - () https://github.com/nonebot/nonebot2/pull/2509 - Issue Tracking, Patch
References () https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg - () https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg - Vendor Advisory
CWE CWE-200 NVD-CWE-noinfo
First Time Nonebot nonebot
Nonebot
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CPE cpe:2.3:a:nonebot:nonebot:2.0.0:rc4:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:*:*:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:beta5:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:-:*:*:*:*:*:*
cpe:2.3:a:nonebot:nonebot:2.0.0:alpha16:*:*:*:*:*:*

09 Feb 2024, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-09 23:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21624

Mitre link : CVE-2024-21624

CVE.ORG link : CVE-2024-21624


JSON object : View

Products Affected

nonebot

  • nonebot
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

NVD-CWE-noinfo