CVE-2015-8549: Pyamf PyAMF Vulnerable To XML External Vulnerability
HIGHCVE-2015-8549 is a HIGH (CVSS 7.1) pyamf vulnerable to xml external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Pyamf libraries in the PyPI ecosystem. The issue involves pyamf vulnerable to xml external entity (xxe). Remediation is available by upgrading affected packages to version 0.8.0.
CVE-2015-8549 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H).
How to Fix CVE-2015-8549
To remediate this vulnerability, upgrade all affected Pyamf 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 pyamf>=0.8.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyamf
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-8549, inspect your installed packages using pip:
pip show pyamf
Analyze the terminal output to locate any version of Pyamf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.0), your application is affected.
Note: The pip show pyamf command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Pyamf, 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-2015-8549 Affected Pyamf Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyamf
|
PyPI |
< 0.8.0
|
0.8.0
|
References
Frequently Asked Questions
What is CVE-2015-8549?
Which Pyamf versions are affected?
What version fixes CVE-2015-8549?
Is pyamf affected?
What is the CVSS score of CVE-2015-8549?
What CWE is associated with CVE-2015-8549?
How can I check PyPI dependencies for CVE-2015-8549?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m7m4-4vm8-55wg",
"modified" : "2024-10-21T20:11:40Z",
"published" : "2022-05-24T17:06:13Z",
"aliases" : [ "CVE-2015-8549" ],
"summary" : "PyAMF vulnerable to XML external entity (XXE)",
"details" : "PyAMF provides Action Message Format (AMF) support for Python that is compatible with the Adobe Flash Player. It includes integration with Python web frameworks like Django, Pylons, Twisted, SQLAlchemy, web2py and more. XML external entity (XXE) vulnerability in PyAMF before 0.8.0 allows remote attackers to cause a denial of service or read arbitrary files via a crafted Action Message Format (AMF) payload.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyamf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8549"
}, {
"type" : "WEB",
"url" : "https://github.com/hydralabs/pyamf/pull/58"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-m7m4-4vm8-55wg"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hydralabs/pyamf"
}, {
"type" : "WEB",
"url" : "https://github.com/hydralabs/pyamf/releases/tag/v0.8.0"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pyamf/PYSEC-2020-339.yaml"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/pyamf"
}, {
"type" : "WEB",
"url" : "http://www.ocert.org/advisories/ocert-2015-011.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-31T21:54:25Z",
"nvd_published_at" : "2020-01-15T15:15:00Z"
}
}