CVE-2015-5271: Tripleo heat templates TripleO Heat Templates Might Allow Vulnerability

HIGH
Advisory Identifier: GHSA-8936-44gw-7664
CVSS 7.5
CWE-200
Published
Advisory Summary

CVE-2015-5271 is a HIGH (CVSS 7.5) tripleo heat templates might allow vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Tripleo heat templates libraries in the PyPI ecosystem. The issue involves tripleo heat templates might allow remote attackers to obtain sensitive information from private containers. Remediation is available by upgrading affected packages to version 0.8.7.

CVE-2015-5271 at a Glance

CVE Identifier CVE-2015-5271
GHSA Identifier GHSA-8936-44gw-7664
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Tripleo heat templates
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2015-5271

To remediate this vulnerability, upgrade all affected Tripleo heat templates dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tripleo-heat-templates fixed: 0.8.7
pip install tripleo-heat-templates>=0.8.7
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 tripleo-heat-templates

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2015-5271, inspect your installed packages using pip:

pip show tripleo-heat-templates

Analyze the terminal output to locate any version of Tripleo heat templates in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.7), your application is affected.

Note: The pip show tripleo-heat-templates command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Tripleo heat templates, 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

The TripleO Heat templates (tripleo-heat-templates) do not properly order the Identity Service (keystone) before the OpenStack Object Storage (Swift) staticweb middleware in the swiftproxy pipeline when the staticweb middleware is enabled, which might allow remote attackers to obtain sensitive information from private containers via unspecified vectors.

CVE-2015-5271 Affected Tripleo heat templates Versions

1 component(s)
Fixed Versions:
0.8.7
Product / Package Ecosystem Affected Versions Fixed Version
tripleo-heat-templates
PyPI
< 0.8.7
0.8.7

References

Frequently Asked Questions

What is CVE-2015-5271?
CVE-2015-5271 is a security vulnerability in Tripleo heat templates involving TripleO Heat templates might allow remote attackers to obtain sensitive information from private containers under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Tripleo heat templates versions are affected?
Affected versions include releases prior to 0.8.7 across affected packages: tripleo-heat-templates.
What version fixes CVE-2015-5271?
Upgrading to 0.8.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tripleo-heat-templates affected?
Yes, tripleo-heat-templates is affected in releases prior to 0.8.7. Upgrade your dependency to 0.8.7 or later.
What is the CVSS score of CVE-2015-5271?
CVE-2015-5271 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2015-5271?
CVE-2015-5271 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2015-5271?
Run the dependency tree command: 'pip show tripleo-heat-templates'. 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-8936-44gw-7664",
  "modified" : "2024-11-18T21:49:28Z",
  "published" : "2022-05-17T03:56:29Z",
  "aliases" : [ "CVE-2015-5271" ],
  "summary" : "TripleO Heat templates might allow remote attackers to obtain sensitive information from private containers",
  "details" : "The TripleO Heat templates (tripleo-heat-templates) do not properly order the Identity Service (keystone) before the OpenStack Object Storage (Swift) staticweb middleware in the swiftproxy pipeline when the staticweb middleware is enabled, which might allow remote attackers to obtain sensitive information from private containers via unspecified vectors.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tripleo-heat-templates"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.8.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5271"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2015:1862"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2015-5271"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/tripleo/+bug/1494896"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1261697"
  }, {
    "type" : "PACKAGE",
    "url" : "https://git.openstack.org/cgit/openstack/tripleo-heat-templates"
  }, {
    "type" : "WEB",
    "url" : "https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1730d95acdbee7c7bbcfe1eba8a48ef2b0cc1476"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/tripleo-heat-templates/PYSEC-2016-34.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://launchpadlibrarian.net/217268516/CVE-2015-5271_puppet-swift.patch"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/226541"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T17:58:53Z",
    "nvd_published_at" : "2016-04-15T17:59:00Z"
  }
}