What’s Vulnerable › Vulnerabilities
CVE-2021-21431: Improper Input Validation in sopel-plugins.channelmgnt
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-09 · updated 2026-06-17
- Weakness: CWE-20
Description
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
Affected products
- MirahezeBots sopel-channelmgnt: before 2.0.1 — fixed in 2.0.1
How to fix
Upgrade to a fixed version: MirahezeBots sopel-channelmgnt 2.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856
- https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m
- https://pypi.org/project/sopel-plugins.channelmgnt/
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856
- https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m
- https://pypi.org/project/sopel-plugins.channelmgnt/
Get alerted when CVE-2021-21431 or the next vulnerability affects your stack