CVE-2017-7214: Nova OpenStack Nova Logs Sensitive Context Vulnerability
CRITICALCVE-2017-7214 is a CRITICAL (CVSS 9.8) openstack nova logs sensitive context vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Nova libraries in the PyPI ecosystem. The issue involves openstack nova logs sensitive context from notification exceptions. Remediation is available by upgrading affected packages to version 13.1.4, 14.0.5, 15.0.2.
CVE-2017-7214 at a Glance
Security Impact
CVSS: 9.8
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:H/A:H).
How to Fix CVE-2017-7214
To remediate this vulnerability, upgrade all affected Nova 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 nova>=13.1.4
pip install nova>=14.0.5
pip install nova>=15.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show nova
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-7214, inspect your installed packages using pip:
pip show nova
Analyze the terminal output to locate any version of Nova in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.1.4), your application is affected.
Note: The pip show nova command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Nova, 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-7214 Affected Nova Versions
3 component(s)References
Frequently Asked Questions
What is CVE-2017-7214?
Which Nova versions are affected?
What version fixes CVE-2017-7214?
Is nova affected?
What is the CVSS score of CVE-2017-7214?
What CWE is associated with CVE-2017-7214?
How can I check PyPI dependencies for CVE-2017-7214?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f4g4-cj8f-3cr9",
"modified" : "2024-05-14T21:13:46Z",
"published" : "2022-05-14T03:53:47Z",
"aliases" : [ "CVE-2017-7214" ],
"summary" : "OpenStack Nova logs sensitive context from notification exceptions",
"details" : "An issue was discovered in exception_wrapper.py in OpenStack Nova 13.x through 13.1.3, 14.x through 14.0.4, and 15.x through 15.0.1. Legacy notification exception contexts appearing in ERROR level logs may include sensitive information such as account passwords and authorization tokens.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.0.0"
}, {
"fixed" : "13.1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "14.0.0"
}, {
"fixed" : "14.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "nova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.1"
}, {
"fixed" : "15.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7214"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/3f985f1eda6f29180878a3d21c20c5057179486a"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/acb19160d4d348e29a21ad57c61c7369352c4d1c"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/c2c91ce44592fc5dc2aacee1cf7f5b5cfd2e9a0a"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/nova/commit/e193201fa1de5b08b29adefd8c149935c5529598"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:1508"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:1595"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/nova"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/1673569"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/96998"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:13:46Z",
"nvd_published_at" : "2017-03-21T18:59:00Z"
}
}