Vulnerabilities in pkg:pypi/sopel-plugins-channelmgnt

PACKAGE
Advisory Identifier: GHSA-j257-jfvv-h3x5
Advisory Summary

CVE-2020-15251 is a MODERATE (CVSS 7.7) privilege escalation vulnerability (CWE-862: Missing Authorization) affecting Sopel plugins.channelmgnt libraries in the PyPI ecosystem. The issue involves privilege escalation in channelmgnt plug-in for sopel. Remediation is available by upgrading affected packages to version 1.0.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/sopel-plugins-channelmgnt

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/sopel-plugins-channelmgnt. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j257-jfvv-h3x5 CVE-2020-15251 MODERATE Privilege Escalation in Channelmgnt plug-in for Sopel

CVE-2020-15251 at a Glance

CVE Identifier CVE-2020-15251
GHSA Identifier GHSA-j257-jfvv-h3x5
Severity MODERATE
CVSS v3.1 Base Score 7.7
CWE Classification CWE-862: Missing Authorization
Affected Product Sopel plugins.channelmgnt
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2020-15251

To remediate this vulnerability, upgrade all affected Sopel plugins.channelmgnt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

sopel_plugins.channelmgnt fixed: 1.0.3
pip install sopel_plugins.channelmgnt>=1.0.3
sopel-plugins-channelmgnt fixed: 1.0.3
pip install sopel-plugins-channelmgnt>=1.0.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show sopel_plugins.channelmgnt

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2020-15251, inspect your installed packages using pip:

pip show sopel_plugins.channelmgnt

Analyze the terminal output to locate any version of Sopel plugins.channelmgnt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.3), your application is affected.

Note: The pip show sopel_plugins.channelmgnt command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Sopel plugins.channelmgnt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Malicious users are able to op/voice and take over a channel ### Patches On version 1.0.3 ### Workarounds Disable channelmgnt ### References https://phab.bots.miraheze.wiki/T117 ### For more information If you have any questions or comments about this advisory: * Email us at [staff(at)mirahezebots(dot)org](mailto:staff@mirahezebots.org)

CVE-2020-15251 Affected Sopel plugins.channelmgnt Versions

2 component(s)
Fixed Versions:
1.0.3
Product / Package Ecosystem Affected Versions Fixed Version
sopel_plugins.channelmgnt
PyPI
< 1.0.3
1.0.3
sopel-plugins-channelmgnt
PyPI
< 1.0.3
1.0.3

References

Frequently Asked Questions

What is CVE-2020-15251?
CVE-2020-15251 is a security vulnerability in Sopel plugins.channelmgnt involving Privilege Escalation in Channelmgnt plug-in for Sopel under CWE-862: Missing Authorization.
Which Sopel plugins.channelmgnt versions are affected?
Affected versions include releases prior to 1.0.3 across affected packages: sopel_plugins.channelmgnt, sopel-plugins-channelmgnt.
What version fixes CVE-2020-15251?
Upgrading to 1.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sopel_plugins.channelmgnt affected?
Yes, sopel_plugins.channelmgnt is affected in releases prior to 1.0.3. Upgrade your dependency to 1.0.3 or later.
Is sopel-plugins-channelmgnt affected?
Yes, sopel-plugins-channelmgnt is affected in releases prior to 1.0.3. Upgrade your dependency to 1.0.3 or later.
What is the CVSS score of CVE-2020-15251?
CVE-2020-15251 has a CVSS v3.1 base score of 7.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
What CWE is associated with CVE-2020-15251?
CVE-2020-15251 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check PyPI dependencies for CVE-2020-15251?
Run the dependency tree command: 'pip show sopel_plugins.channelmgnt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j257-jfvv-h3x5",
  "modified" : "2024-10-28T13:59:39Z",
  "published" : "2020-10-13T17:30:30Z",
  "aliases" : [ "CVE-2020-15251" ],
  "summary" : "Privilege Escalation in Channelmgnt plug-in for Sopel",
  "details" : "### Impact\nMalicious users are able to op/voice and take over a channel\n\n### Patches\nOn version 1.0.3\n\n### Workarounds\nDisable channelmgnt\n\n### References\nhttps://phab.bots.miraheze.wiki/T117\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [staff(at)mirahezebots(dot)org](mailto:staff@mirahezebots.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "sopel_plugins.channelmgnt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "sopel-plugins-channelmgnt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/MirahezeBots/MirahezeBots/security/advisories/GHSA-23pc-4339-95vg"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-j257-jfvv-h3x5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15251"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/MirahezeBots/sopel-channelmgnt/pull/3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/MirahezeBots/MirahezeBots"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/sopel-plugins-channelmgnt/PYSEC-2020-110.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://phab.bots.miraheze.wiki/T117"
  }, {
    "type" : "WEB",
    "url" : "https://phab.bots.miraheze.wiki/phame/live/1/post/1/summary"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/sopel-plugins.channelmgnt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-10-13T17:08:31Z",
    "nvd_published_at" : "2020-10-13T18:15:00Z"
  }
}