CVE-2019-1000021: Slixmpp Slixmpp Incorrect Access Control Vulnerability

HIGH
Advisory Identifier: GHSA-4g62-mfwx-4q48
CVSS 7.5
CWE-284
Published
Advisory Summary

CVE-2019-1000021 is a HIGH (CVSS 7.5) slixmpp incorrect access control vulnerability (CWE-284: Improper Access Control) affecting Slixmpp libraries in the PyPI ecosystem. The issue involves slixmpp incorrect access control. Remediation is available by upgrading affected packages to version 1.4.2.

CVE-2019-1000021 at a Glance

CVE Identifier CVE-2019-1000021
GHSA Identifier GHSA-4g62-mfwx-4q48
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-284: Improper Access Control
Affected Product Slixmpp
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2019-1000021

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

slixmpp fixed: 1.4.2
pip install slixmpp>=1.4.2
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 slixmpp

How to Check if You Are Affected

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

pip show slixmpp

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Slixmpp, 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

slixmpp version before commit 7cd73b594e8122dddf847953fcfc85ab4d316416 contains an incorrect Access Control vulnerability in XEP-0223 plugin (Persistent Storage of Private Data via PubSub) options profile, used for the configuration of default access model that can result in all of the contacts of the victim can see private data having been published to a PEP node. This attack appears to be exploitable if the user of this library publishes any private data on PEP, the node isn't configured to be private. This vulnerability appears to have been fixed in commit 7cd73b594e8122dddf847953fcfc85ab4d316416 which is included in slixmpp 1.4.2.

CVE-2019-1000021 Affected Slixmpp Versions

1 component(s)
Fixed Versions:
1.4.2
Product / Package Ecosystem Affected Versions Fixed Version
slixmpp
PyPI
< 1.4.2
1.4.2

References

Frequently Asked Questions

What is CVE-2019-1000021?
CVE-2019-1000021 is a security vulnerability in Slixmpp involving slixmpp Incorrect Access Control under CWE-284: Improper Access Control.
Which Slixmpp versions are affected?
Affected versions include releases prior to 1.4.2 across affected packages: slixmpp.
What version fixes CVE-2019-1000021?
Upgrading to 1.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is slixmpp affected?
Yes, slixmpp is affected in releases prior to 1.4.2. Upgrade your dependency to 1.4.2 or later.
What is the CVSS score of CVE-2019-1000021?
CVE-2019-1000021 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2019-1000021?
CVE-2019-1000021 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2019-1000021?
Run the dependency tree command: 'pip show slixmpp'. 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-4g62-mfwx-4q48",
  "modified" : "2024-10-22T17:25:28Z",
  "published" : "2022-05-13T01:21:42Z",
  "aliases" : [ "CVE-2019-1000021" ],
  "summary" : "slixmpp Incorrect Access Control",
  "details" : "slixmpp version before commit 7cd73b594e8122dddf847953fcfc85ab4d316416 contains an incorrect Access Control vulnerability in XEP-0223 plugin (Persistent Storage of Private Data via PubSub) options profile, used for the configuration of default access model that can result in all of the contacts of the victim can see private data having been published to a PEP node. This attack appears to be exploitable if the user of this library publishes any private data on PEP, the node isn't configured to be private. This vulnerability appears to have been fixed in commit 7cd73b594e8122dddf847953fcfc85ab4d316416 which is included in slixmpp 1.4.2.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "slixmpp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1000021"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/poezio/slixmpp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/slixmpp/PYSEC-2019-121.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://lab.louiz.org/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GKBXN7EAAR7ENEZUBKV6C6MP6QBXYTWT"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBP4LD2V4TBJSLZXDUAGQMD6CUI2TZR"
  }, {
    "type" : "WEB",
    "url" : "https://xmpp.org/extensions/xep-0223.html#howitworks"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-19T18:13:30Z",
    "nvd_published_at" : "2019-02-04T21:29:00Z"
  }
}