# CVE-2014-7231: OpenStack Oslo utility sensitive information exposure via log files

> Local attackers can read unmasked passwords from logs due to improper masking in the OpenStack Oslo utility library.

- **Severity:** Low 2.1 (`AV:L/AC:L/Au:N/C:P/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 8 Oct 2014
- **Updated:** 6 Aug 2024
- **Also known as:** DEBIAN-CVE-2014-7231, GHSA-v933-vx5p-j7w2, PYSEC-2026-892

## What is CVE-2014-7231?

CVE-2014-7231 is a low-severity vulnerability in Redhat Openstack, published on 8 Oct 2014. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

The strutils.mask_password function in the OpenStack Oslo utility library, Cinder, Nova, and Trove before 2013.2.4 and 2014.1 before 2014.1.3 does not properly mask passwords when logging commands, which allows local users to obtain passwords by reading the log.

Weakness: CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor)

## Which versions are affected by CVE-2014-7231?

3 open source packages ship an affected version, including oslo-utils and oslo.utils. It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `oslo-utils` | PyPI | All versions | 0.2.0 |
| `oslo-utils` | PyPI | All versions | 0.2.0 |
| `oslo.utils` | PyPI | All versions | 0.2.0 |

Products: Openstack Cinder, Openstack Nova, Openstack Trove, Redhat Openstack.

## How do I fix CVE-2014-7231?

Upgrade oslo-utils to 0.2.0 or later.

## Is CVE-2014-7231 being exploited?

There is no known exploitation of CVE-2014-7231 in the wild and no public exploit code.

## Other vulnerabilities in Redhat Openstack

- [CVE-2015-5162](https://insights.sbomify.com/CVE-2015-5162/): OpenStack Cinder, Glance, and Nova contain Uncontrolled Resource Consumption (high 7.5)
- [CVE-2024-32498](https://insights.sbomify.com/CVE-2024-32498/): OpenStack Cinder, Glance, and Nova vulnerable to arbitrary file access (medium 6.5)
- [CVE-2017-15139](https://insights.sbomify.com/CVE-2017-15139/): Information disclosure in openstack-cinder (medium 5.1)
- [CVE-2014-3641](https://insights.sbomify.com/CVE-2014-3641/): OpenStack Cinder Exposure of Sensitive Information to an Unauthorized Actor vulnerability (medium 4.0)
- [CVE-2013-4183](https://insights.sbomify.com/CVE-2013-4183/): OpenStack Cinder LVMVolumeDriver does not zero deleted snapshots (low 2.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2014-7231 and fix it if it is affected.

What it is: CVE-2014-7231 is a low-severity vulnerability in Redhat Openstack, published on 8 Oct 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2014-7231 in the wild and no public exploit code.

Affected packages and fixed versions:
- oslo-utils (PyPI): affected all versions; fixed in 0.2.0
- oslo-utils (PyPI): affected all versions; fixed in 0.2.0
- oslo.utils (PyPI): affected all versions; fixed in 0.2.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2014-7231/ (Markdown: https://insights.sbomify.com/CVE-2014-7231/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2014-7231
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2014-7231
- OSV: https://osv.dev/vulnerability/CVE-2014-7231

---
From sbomify Insights: https://insights.sbomify.com/CVE-2014-7231/
Summaries are generated and may contain mistakes; the official description above is the record.
