Vulnerabilities in pkg:pypi/keycloak-httpd-client-install
PACKAGECVE-2017-15111 is a MODERATE (CVSS 5.5) keycloak-httpd-client-install symlink attack vulnerability vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Keycloak httpd client install libraries in the PyPI ecosystem. The issue involves keycloak-httpd-client-install symlink attack vulnerability. Remediation is available by upgrading affected packages to version 0.8.
pkg:pypi/keycloak-httpd-client-install
Vulnerability advisories affecting package pkg:pypi/keycloak-httpd-client-install. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vqf9-v3hc-wr54 | CVE-2017-15111 | MODERATE | keycloak-httpd-client-install symlink attack vulnerability |
| GHSA-89c9-3758-737w | CVE-2017-15112 | HIGH | keycloak-httpd-client-install Insecure Secrets |
CVE-2017-15111 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2017-15111
To remediate this vulnerability, upgrade all affected Keycloak httpd client install 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 keycloak-httpd-client-install>=0.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keycloak-httpd-client-install
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-15111, inspect your installed packages using pip:
pip show keycloak-httpd-client-install
Analyze the terminal output to locate any version of Keycloak httpd client install in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8), your application is affected.
Note: The pip show keycloak-httpd-client-install command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Keycloak httpd client install, 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-15111 Affected Keycloak httpd client install Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keycloak-httpd-client-install
|
PyPI |
< 0.8
|
0.8
|
References
Frequently Asked Questions
What is CVE-2017-15111?
Which Keycloak httpd client install versions are affected?
What version fixes CVE-2017-15111?
Is keycloak-httpd-client-install affected?
What is the CVSS score of CVE-2017-15111?
What CWE is associated with CVE-2017-15111?
How can I check PyPI dependencies for CVE-2017-15111?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vqf9-v3hc-wr54",
"modified" : "2023-10-24T13:27:18Z",
"published" : "2022-05-14T00:55:07Z",
"aliases" : [ "CVE-2017-15111" ],
"summary" : "keycloak-httpd-client-install symlink attack vulnerability",
"details" : "keycloak-httpd-client-install versions before 0.8 insecurely creates temporary file allowing local attackers to overwrite other files via symbolic link.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keycloak-httpd-client-install"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-15111"
}, {
"type" : "WEB",
"url" : "https://github.com/jdennis/keycloak-httpd-client-install/commit/07f26e213196936fb328ea0c1d5a66a09d8b5440"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:2137"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jdennis/keycloak-httpd-client-install"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-26T21:09:36Z",
"nvd_published_at" : "2018-01-20T00:29:00Z"
}
}