PYSEC-2024-37
Vulnerability from pysec - Published: 2024-02-09 23:15 - Updated: 2024-02-16 16:22
VLAI?
Details
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.
Severity ?
6.5 (Medium)
Impacted products
| Name | purl | nonebot2 | pkg:pypi/nonebot2 |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "nonebot2",
"purl": "pkg:pypi/nonebot2"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.1"
},
{
"fixed": "2.2.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.1.3"
]
}
],
"aliases": [
"CVE-2024-21624",
"GHSA-59j8-776v-xxxg"
],
"details": "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.",
"id": "PYSEC-2024-37",
"modified": "2024-02-16T16:22:37.389642+00:00",
"published": "2024-02-09T23:15:00+00:00",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/nonebot/nonebot2/security/advisories/GHSA-59j8-776v-xxxg"
},
{
"type": "REPORT",
"url": "https://github.com/nonebot/nonebot2/pull/2509"
},
{
"type": "FIX",
"url": "https://github.com/nonebot/nonebot2/pull/2509"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…