CVE-2017-16618: Owlmixin Unsafe Deserialization Vulnerability
CRITICALCVE-2017-16618 is a CRITICAL (CVSS 9.8) unsafe deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Owlmixin libraries in the PyPI ecosystem. The issue involves unsafe deserialization in owlmixin. Remediation is available by upgrading affected packages to version 2.0.0.
CVE-2017-16618 at a Glance
Security Impact
CVSS: 9.8
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:H/A:H).
How to Fix CVE-2017-16618
To remediate this vulnerability, upgrade all affected Owlmixin 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 owlmixin>=2.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show owlmixin
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-16618, inspect your installed packages using pip:
pip show owlmixin
Analyze the terminal output to locate any version of Owlmixin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0), your application is affected.
Note: The pip show owlmixin command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Owlmixin, 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-16618 Affected Owlmixin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
owlmixin
|
PyPI |
< 2.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2017-16618?
Which Owlmixin versions are affected?
What version fixes CVE-2017-16618?
Is owlmixin affected?
What is the CVSS score of CVE-2017-16618?
What CWE is associated with CVE-2017-16618?
How can I check PyPI dependencies for CVE-2017-16618?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ccmq-qvcp-5mrm",
"modified" : "2024-10-07T21:07:56Z",
"published" : "2018-07-13T16:01:12Z",
"aliases" : [ "CVE-2017-16618" ],
"summary" : "Unsafe deserialization in owlmixin",
"details" : "An exploitable vulnerability exists in the YAML loading functionality of util.py in OwlMixin before 2.0.0a12. A \"Load YAML\" string or file (aka load_yaml or load_yamlf) can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "owlmixin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-16618"
}, {
"type" : "WEB",
"url" : "https://github.com/tadashi-aikawa/owlmixin/issues/12"
}, {
"type" : "WEB",
"url" : "https://github.com/tadashi-aikawa/owlmixin/commit/5d0575303f6df869a515ced4285f24ba721e0d4e"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-ccmq-qvcp-5mrm"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/owlmixin/PYSEC-2017-22.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tadashi-aikawa/owlmixin"
}, {
"type" : "WEB",
"url" : "https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16618-convert-through-owlmixin"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:31:05Z",
"nvd_published_at" : null
}
}