SCA: security update for nonebot2 (GHSA-59j8-776v-xxxg)

medium Tenable Cloud Security Plugin ID 410736

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-21624)

See Also

https://github.com/advisories/GHSA-59j8-776v-xxxg

Plugin Details

Severity: Medium

ID: 410736

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-21624

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/9/2024

Vulnerability Publication Date: 2/9/2024

Reference Information

CVE: CVE-2024-21624