CVE-2017-15111: Keycloak httpd client install Keycloak-httpd-client-install Symlink Attack Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-vqf9-v3hc-wr54
CVSS 5.5
CWE-59
Published
Advisory Summary

CVE-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.

CVE-2017-15111 at a Glance

CVE Identifier CVE-2017-15111
GHSA Identifier GHSA-vqf9-v3hc-wr54
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product Keycloak httpd client install
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

keycloak-httpd-client-install fixed: 0.8
pip install keycloak-httpd-client-install>=0.8
Verify Direct and Transitive Dependencies

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

keycloak-httpd-client-install versions before 0.8 insecurely creates temporary file allowing local attackers to overwrite other files via symbolic link.

CVE-2017-15111 Affected Keycloak httpd client install Versions

1 component(s)
Fixed Versions:
0.8
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?
CVE-2017-15111 is a security vulnerability in Keycloak httpd client install involving keycloak-httpd-client-install symlink attack vulnerability under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Keycloak httpd client install versions are affected?
Affected versions include releases prior to 0.8 across affected packages: keycloak-httpd-client-install.
What version fixes CVE-2017-15111?
Upgrading to 0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keycloak-httpd-client-install affected?
Yes, keycloak-httpd-client-install is affected in releases prior to 0.8. Upgrade your dependency to 0.8 or later.
What is the CVSS score of CVE-2017-15111?
CVE-2017-15111 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2017-15111?
CVE-2017-15111 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (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.).
How can I check PyPI dependencies for CVE-2017-15111?
Run the dependency tree command: 'pip show keycloak-httpd-client-install'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}