CVE-2017-5591: Slixmpp SleekXMPP And Slixmpp Incorrect Implementation Vulnerability
MODERATECVE-2017-5591 is a MODERATE (CVSS 5.9) sleekxmpp and slixmpp incorrect implementation vulnerability (CWE-940: Improper Verification of Source of a Communication Channel) affecting Slixmpp libraries in the PyPI ecosystem. The issue involves sleekxmpp and slixmpp incorrect implementation of message carbons. Remediation is available by upgrading affected packages to version 1.2.4, 1.3.2.
CVE-2017-5591 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2017-5591
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.
pip install slixmpp>=1.2.4
pip install SleekXMPP>=1.3.2
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-2017-5591, 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.2.4), 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-940: Improper Verification of Source of a Communication Channel, where the product establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin. 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
CVE-2017-5591 Affected Slixmpp Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
slixmpp
|
PyPI |
< 1.2.4
|
1.2.4
|
|
SleekXMPP
|
PyPI |
< 1.3.2
|
1.3.2
|
References
Frequently Asked Questions
What is CVE-2017-5591?
Which Slixmpp versions are affected?
What version fixes CVE-2017-5591?
Is slixmpp affected?
Is SleekXMPP affected?
What is the CVSS score of CVE-2017-5591?
What CWE is associated with CVE-2017-5591?
How can I check PyPI dependencies for CVE-2017-5591?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c35g-jr5f-h83p",
"modified" : "2024-10-22T17:28:45Z",
"published" : "2022-05-13T01:28:46Z",
"aliases" : [ "CVE-2017-5591" ],
"summary" : "SleekXMPP and Slixmpp Incorrect Implementation of Message Carbons ",
"details" : "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks. This CVE is for SleekXMPP up to 1.3.1 and Slixmpp all versions up to 1.2.3, as bundled in poezio (0.8 - 0.10) and other products.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "slixmpp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.2.3"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "SleekXMPP"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.3.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5591"
}, {
"type" : "WEB",
"url" : "https://github.com/fritzy/SleekXMPP/issues/442"
}, {
"type" : "WEB",
"url" : "https://github.com/fritzy/SleekXMPP/commit/285495d5ee2427d93d961ceedcd1829383e5196d"
}, {
"type" : "WEB",
"url" : "https://github.com/poezio/slixmpp/commit/22664ee7b86c8e010f312b66d12590fb47160ad8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/poezio/slixmpp"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/sleekxmpp/PYSEC-2017-103.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/slixmpp/PYSEC-2017-104.yaml"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/sleekxmpp"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/slixmpp"
}, {
"type" : "WEB",
"url" : "https://rt-solutions.de/en/2017/02/CVE-2017-5589_xmpp_carbons"
}, {
"type" : "WEB",
"url" : "https://rt-solutions.de/wp-content/uploads/2017/02/CVE-2017-5589_xmpp_carbons.pdf"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227192025/http://www.securityfocus.com/bid/96166"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2017/02/09/29"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-940" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T23:06:53Z",
"nvd_published_at" : "2017-02-09T20:59:00Z"
}
}