CVE-2017-5524: Plone Plone Sandbox Escape Vulnerability
MODERATECVE-2017-5524 is a MODERATE (CVSS 4.3) plone sandbox escape vulnerability (CWE-134: Use of Externally-Controlled Format String) affecting Plone libraries in the PyPI ecosystem. The issue involves plone sandbox escape. Remediation is available by upgrading affected packages to version 4.3.12, 5.1b1, 5.0.7.
CVE-2017-5524 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2017-5524
To remediate this vulnerability, upgrade all affected Plone 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 Plone>=4.3.12
pip install Plone>=5.1b1
pip install Plone>=5.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Plone
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-5524, inspect your installed packages using pip:
pip show Plone
Analyze the terminal output to locate any version of Plone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.12), your application is affected.
Note: The pip show Plone command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-134: Use of Externally-Controlled Format String, where the product uses a function that accepts a format string as an argument, but the format string originates from an external source. In Plone, 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-5524 Affected Plone Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Plone
|
PyPI |
≥ 4.0
< 4.3.12
|
4.3.12
|
|
Plone
|
PyPI |
≥ 5.1a1
< 5.1b1
|
5.1b1
|
|
Plone
|
PyPI |
≥ 5.0rc1
< 5.0.7
|
5.0.7
|
References
Frequently Asked Questions
What is CVE-2017-5524?
Which Plone versions are affected?
What version fixes CVE-2017-5524?
Is Plone affected?
What is the CVSS score of CVE-2017-5524?
What CWE is associated with CVE-2017-5524?
How can I check PyPI dependencies for CVE-2017-5524?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p5wr-vp8g-q5p4",
"modified" : "2024-10-18T21:39:21Z",
"published" : "2018-07-12T14:45:15Z",
"aliases" : [ "CVE-2017-5524" ],
"summary" : "Plone Sandbox Escape",
"details" : "Plone 4.x through 4.3.11 and 5.x through 5.0.6 allow remote attackers to bypass a sandbox protection mechanism and obtain sensitive information by leveraging the Python string format method.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Plone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0"
}, {
"fixed" : "4.3.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Plone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1a1"
}, {
"fixed" : "5.1b1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.1a2"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Plone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0rc1"
}, {
"fixed" : "5.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5524"
}, {
"type" : "WEB",
"url" : "https://github.com/plone/Products.CMFPlone/pull/1912"
}, {
"type" : "WEB",
"url" : "https://github.com/plone/Products.CMFPlone/commit/a7d47692058e10ce89968e7ca4dacbdf44fcad4f"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-p5wr-vp8g-q5p4"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2017-81.yaml"
}, {
"type" : "WEB",
"url" : "https://plone.org/security/hotfix/20170117/sandbox-escape"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2017/01/18/6"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/95679"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-134" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:48:01Z",
"nvd_published_at" : null
}
}