CVE-2021-21431
HIGH 8.1CVSS 3.1Improper Input Validation in sopel-plugins.channelmgnt
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.
- Published
- 9 Apr 2021
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-284
- Also known as
- GHSA-23c7-6444-399mPYSEC-2021-58
- Sources
- NVDJSONOSV GHSA-23c7-6444-399mJSONOSV PYSEC-2021-58JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mirahezebots | channelmgntcpe:2.3:a:mirahezebots:channelmgnt:*:*:*:*:*:sopel:*:* |
< 2.0.1 | 2.0.1 |
| OSV | PyPI | sopel-plugins-channelmgnt | < 2.0.1 | 2.0.1 |
References
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m · Third Party Advisory, WEB, ADVISORY
- https://pypi.org/project/sopel-plugins.channelmgnt/ · Product, Third Party Advisory, WEB, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-21431 · ADVISORY
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/643388365f28c5cc682254ab913c401f0e53260a · WEB
- https://github.com/MirahezeBots/sopel-channelmgnt · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/sopel-plugins-channelmgnt/PYSEC-2021-58.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Apr 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Apr 2021)