CVE-2021-21431
JSON

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 packageVersionsReported by
MirahezeBots sopel-channelmgnt< 2.0.1CVE List
sopel-plugins-channelmgnt (PyPI)before 2.0.1, before 7c96d400358221e59135f0a0be0744f3fad73856GitHub Advisory Database, PyPA Advisory Database
mirahezebots channelmgntbefore 2.0.1NVD

All scores

GitHub_M7.6high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H
GitHub7.6high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H
NVD5.5medium CVSS:2.0AV: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:

NVD (es)

sopel-channelmgnt es un plugin de channelmgnt para sopel.&#xa0;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.&#xa0;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.&#xa0;Freenode no está afectado.&#xa0;Esto es corregido en versión 2.0.1.&#xa0;Como solución alternativa, no usar este plugin en redes donde TARGMAX versión posterior a 1

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21431 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-23c7-6444-399m changed 2026-07-13CC-BY-4.0
NVDCVE-2021-21431 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-58 changed 2023-11-08CC-BY-4.0