CVE-2015-8309: CherryMusic Path Traversal Vulnerability
MODERATECVE-2015-8309 is a MODERATE (CVSS 4.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting CherryMusic libraries in the PyPI ecosystem. The issue involves cherry music directory traversal vulnerability. Remediation is available by upgrading affected packages to version 0.36.0.
CVE-2015-8309 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-2015-8309
To remediate this vulnerability, upgrade all affected CherryMusic 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 CherryMusic>=0.36.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show CherryMusic
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-8309, inspect your installed packages using pip:
pip show CherryMusic
Analyze the terminal output to locate any version of CherryMusic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.36.0), your application is affected.
Note: The pip show CherryMusic command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In CherryMusic, 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-8309 Affected CherryMusic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
CherryMusic
|
PyPI |
< 0.36.0
|
0.36.0
|
References
Frequently Asked Questions
What is CVE-2015-8309?
Which CherryMusic versions are affected?
What version fixes CVE-2015-8309?
Is CherryMusic affected?
What is the CVSS score of CVE-2015-8309?
What CWE is associated with CVE-2015-8309?
How can I check PyPI dependencies for CVE-2015-8309?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q624-9634-77gh",
"modified" : "2024-09-13T14:25:12Z",
"published" : "2022-05-17T02:52:55Z",
"aliases" : [ "CVE-2015-8309" ],
"summary" : "Cherry Music directory traversal vulnerability",
"details" : "Directory traversal vulnerability in Cherry Music before 0.36.0 allows remote authenticated users to read arbitrary files via the \"value\" parameter to \"download.\"",
"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" : "CherryMusic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.36.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8309"
}, {
"type" : "WEB",
"url" : "https://github.com/devsnd/cherrymusic/issues/598"
}, {
"type" : "WEB",
"url" : "https://github.com/devsnd/cherrymusic/commit/62dec34a1ea0741400dd6b6c660d303dcd651e86"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/devsnd/cherrymusic"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/cherrymusic/PYSEC-2017-99.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227183321/http://www.securityfocus.com/bid/97149"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/40361"
}, {
"type" : "WEB",
"url" : "http://www.fomori.org/cherrymusic/Changes.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T16:53:37Z",
"nvd_published_at" : "2017-03-27T15:59:00Z"
}
}