Vulnerabilities in pkg:pypi/aodh

PACKAGE
Advisory Identifier: GHSA-86cv-9gpx-6hwj
Advisory Summary

CVE-2017-12440 is a HIGH (CVSS 7.5) openstack aodh can be used vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Aodh libraries in the PyPI ecosystem. The issue involves openstack aodh can be used to launder keystone trusts. Remediation is available by upgrading affected packages to version 6.0.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/aodh

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/aodh. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-86cv-9gpx-6hwj CVE-2017-12440 HIGH Openstack Aodh can be used to launder Keystone trusts

CVE-2017-12440 at a Glance

CVE Identifier CVE-2017-12440
GHSA Identifier GHSA-86cv-9gpx-6hwj
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Aodh
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:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

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

How to Fix CVE-2017-12440

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

aodh fixed: 6.0.1
pip install aodh>=6.0.1
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 aodh

How to Check if You Are Affected

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

pip show aodh

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

Note: The pip show aodh command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Aodh, 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

Aodh as packaged in Openstack Ocata and Newton before change-ID I8fd11a7f9fe3c0ea5f9843a89686ac06713b7851 and before Pike-rc1 does not verify that trust IDs belong to the user when creating alarm action with the scheme trust+http, which allows remote authenticated users with knowledge of trust IDs where Aodh is the trustee to obtain a Keystone token and perform unspecified authenticated actions by adding an alarm action with the scheme trust+http, and providing a trust id where Aodh is the trustee.

CVE-2017-12440 Affected Aodh Versions

1 component(s)
Fixed Versions:
6.0.1
Product / Package Ecosystem Affected Versions Fixed Version
aodh
PyPI
< 6.0.1
6.0.1

References

Frequently Asked Questions

What is CVE-2017-12440?
CVE-2017-12440 is a security vulnerability in Aodh involving Openstack Aodh can be used to launder Keystone trusts under CWE-306: Missing Authentication for Critical Function.
Which Aodh versions are affected?
Affected versions include releases prior to 6.0.1 across affected packages: aodh.
What version fixes CVE-2017-12440?
Upgrading to 6.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aodh affected?
Yes, aodh is affected in releases prior to 6.0.1. Upgrade your dependency to 6.0.1 or later.
What is the CVSS score of CVE-2017-12440?
CVE-2017-12440 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-12440?
CVE-2017-12440 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check PyPI dependencies for CVE-2017-12440?
Run the dependency tree command: 'pip show aodh'. 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-86cv-9gpx-6hwj",
  "modified" : "2024-05-14T20:50:05Z",
  "published" : "2022-05-13T01:42:42Z",
  "aliases" : [ "CVE-2017-12440" ],
  "summary" : "Openstack Aodh can be used to launder Keystone trusts",
  "details" : "Aodh as packaged in Openstack Ocata and Newton before change-ID I8fd11a7f9fe3c0ea5f9843a89686ac06713b7851 and before Pike-rc1 does not verify that trust IDs belong to the user when creating alarm action with the scheme trust+http, which allows remote authenticated users with knowledge of trust IDs where Aodh is the trustee to obtain a Keystone token and perform unspecified authenticated actions by adding an alarm action with the scheme trust+http, and providing a trust id where Aodh is the trustee.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "aodh"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-12440"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/aodh/commit/149d3ad2193b4d17df801f82a0a6be62dba564db"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/aodh/commit/92182de328d1f088c5f5a68326d2b207b21e06ea"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:3227"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:0315"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ossn/+bug/1649333"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/493823"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/493824"
  }, {
    "type" : "WEB",
    "url" : "https://review.openstack.org/#/c/493826"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2017/dsa-3953"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/100455"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-14T20:50:05Z",
    "nvd_published_at" : "2017-08-18T14:29:00Z"
  }
}