CVE-2020-29565: Horizon OpenStack Horizon Open Redirect Vulnerability
MODERATECVE-2020-29565 is a MODERATE (CVSS 6.1) openstack horizon open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Horizon libraries in the PyPI ecosystem. The issue involves openstack horizon open redirect in workflow forms. Remediation is available by upgrading affected packages to version 15.3.2, 16.2.1, 18.3.3, 18.6.0.
CVE-2020-29565 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2020-29565
To remediate this vulnerability, upgrade all affected Horizon 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 horizon>=15.3.2
pip install horizon>=16.2.1
pip install horizon>=18.3.3
pip install horizon>=18.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show horizon
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-29565, inspect your installed packages using pip:
pip show horizon
Analyze the terminal output to locate any version of Horizon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.3.2), your application is affected.
Note: The pip show horizon command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Horizon, 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-2020-29565 Affected Horizon Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
horizon
|
PyPI |
< 15.3.2
|
15.3.2
|
|
horizon
|
PyPI |
≥ 16.0.0
< 16.2.1
|
16.2.1
|
|
horizon
|
PyPI |
≥ 17.0.0
< 18.3.3
|
18.3.3
|
|
horizon
|
PyPI |
≥ 18.4.0
< 18.6.0
|
18.6.0
|
References
Frequently Asked Questions
What is CVE-2020-29565?
Which Horizon versions are affected?
What version fixes CVE-2020-29565?
Is horizon affected?
What is the CVSS score of CVE-2020-29565?
What CWE is associated with CVE-2020-29565?
How can I check PyPI dependencies for CVE-2020-29565?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f8fh-xp28-q59m",
"modified" : "2024-09-20T21:51:56Z",
"published" : "2022-05-24T17:35:25Z",
"aliases" : [ "CVE-2020-29565" ],
"summary" : "OpenStack Horizon Open redirect in workflow forms",
"details" : "An issue was discovered in OpenStack Horizon before 15.3.2, 16.x before 16.2.1, 17.x and 18.x before 18.3.3, 18.4.x, and 18.5.x. There is a lack of validation of the \"next\" parameter, which would allow someone to supply a malicious URL in Horizon that can cause an automatic redirect to the provided malicious URL.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "15.3.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.0.0"
}, {
"fixed" : "16.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0"
}, {
"fixed" : "18.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "18.4.0"
}, {
"fixed" : "18.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-29565"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/horizon/commit/252467100f75587e18df9c43ed5802ee8f0017fa"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/horizon/commit/6c208edf323ced07b15ec4bc3879bddb91d398bc"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/horizon/commit/9e0e333ab5277b6c396f602862ff90398cb0242b"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/horizon/commit/baa370f84332ad41502daea29a551705696f4421"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/horizon/+bug/1865026"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/horizon"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/horizon/PYSEC-2020-45.yaml"
}, {
"type" : "WEB",
"url" : "https://review.opendev.org/c/openstack/horizon/+/758841"
}, {
"type" : "WEB",
"url" : "https://review.opendev.org/c/openstack/horizon/+/758843"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2020-008.html"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2020/dsa-4820"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2020/12/08/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T11:01:41Z",
"nvd_published_at" : "2020-12-04T08:15:00Z"
}
}