GHSA-23c7-6444-399m
Improper Input Validation in sopel-plugins.channelmgnt
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | sopel-plugins.channelmgnt | < 2.0.1 | 2.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://phab.mirahezebots.org/maniphest/task/edit/form/1/).
* Email us at [staff(at)mirahezebots(dot)org](mailto:[email protected])
References
External links from the advisory. They lead to third-party sites.
- https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m
- https://nvd.nist.gov/vuln/detail/CVE-2021-21431
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/643388365f28c5cc682254ab913c401f0e53260a
- https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856
- https://github.com/MirahezeBots/sopel-channelmgnt
- https://github.com/pypa/advisory-database/tree/main/vulns/sopel-plugins-channelmgnt/PYSEC-2021-58.yaml
- https://pypi.org/project/sopel-plugins.channelmgnt