Advisory

GHSA-23c7-6444-399m

Also known as: CVE-2021-21431, PYSEC-2021-58

Summary

Improper Input Validation in sopel-plugins.channelmgnt

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-09 15:42 UTC
Modified
2026-07-13 12:14 UTC

Affected packages and fixes

sopel-plugins-channelmgnt

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.1 (ecosystem)

Fixed versions

2.0.1

Fix

  • Fixed version 2.0.1
    pip install --upgrade sopel-plugins-channelmgnt==2.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences