7.6high
Improper Input Validation in sopel-plugins.channelmgnt
- Severity
- 7.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.08% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-23c7-6444-399mPYSEC-2021-58
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
| Product or package | Versions | Reported by |
|---|---|---|
| MirahezeBots sopel-channelmgnt | < 2.0.1 | CVE List |
| sopel-plugins-channelmgnt (PyPI) | before 2.0.1, before 7c96d400358221e59135f0a0be0744f3fad73856 | GitHub Advisory Database, PyPA Advisory Database |
| mirahezebots channelmgnt | before 2.0.1 | NVD |
All scores
| GitHub_M | 7.6high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| GitHub | 7.6high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
Upgrade to 2.0.1 or higher
Workarounds
Do not use this plugin on networks where TARGMAX > 1.
For more information
If you have any questions or comments about this advisory:
- Open an issue on phab.
- Email us at staff(at)mirahezebots(dot)org
NVD (es)
sopel-channelmgnt es un plugin de channelmgnt para sopel. En versiones anteriores a 2.0.1, en algunos servidores IRC, unas restricciones sobre la eliminación del bot usando el comando kick/kickban podrían omitirse al patear a varios usuarios a la vez. También creemos que puede haber sido posible eliminar usuarios de otros canales, pero debido a la maravilla que es el IRC y los siguientes RfC, no tenemos POC para eso. Freenode no está afectado. Esto es corregido en versión 2.0.1. Como solución alternativa, no usar este plugin en redes donde TARGMAX versión posterior a 1
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21431 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-23c7-6444-399m changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2021-21431 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-58 changed 2023-11-08 | CC-BY-4.0 |