Vulnerability Details : CVE-2021-21431
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.
Vulnerability category: Input validationBypassGain privilege
Products affected by CVE-2021-21431
- cpe:2.3:a:mirahezebots:channelmgnt:*:*:*:*:*:sopel:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21431
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 39 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21431
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:P |
8.0
|
4.9
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
1.7
|
5.8
|
NIST | |
7.6
|
HIGH | CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H |
1.2
|
5.8
|
GitHub, Inc. |
CWE ids for CVE-2021-21431
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: security-advisories@github.com (Secondary)
-
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2021-21431
-
https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m
Improper Input Validation in sopel-plugins.channelmgnt kick/ban logic · Advisory · MirahezeBots/sopel-channelmgnt · GitHubThird Party Advisory
-
https://pypi.org/project/sopel-plugins.channelmgnt/
sopel-plugins.channelmgnt · PyPIProduct;Third Party Advisory
-
https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856
[SECURITY] Release 2.0.1 (#65) · MirahezeBots/sopel-channelmgnt@7c96d40 · GitHubPatch;Third Party Advisory
Jump to