# CVE-2013-0212: OpenStack Glance logs user name and password in cleartext

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.0
- **CVSS:** 4.0 (v2.0, NVD) `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Authentication: Single; Confidentiality impact: Partial; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.05% (percentile 88, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-xv7j-2v4w-cjvh, PYSEC-2013-37
- **Published:** 2013-02-24T21:00:00.000Z
- **Modified:** 2026-06-16T23:48:58.720Z

## Who should check

- Projects that depend on PyPI package glance (\>= 2012.1, \< 2012.2.3)
- Anyone running n/a (versions: see the vendor advisory)

## Description

store/swift.py in OpenStack Glance Essex (2012.1), Folsom (2012.2) before 2012.2.3, and Grizzly, when in Swift single tenant mode, logs the Swift endpoint's user name and password in cleartext when the endpoint is misconfigured or unusable, allows remote authenticated users to obtain sensitive information by reading the error messages.

## Affected and fixed versions

- PyPI `glance`: affected \>= 2012.1, \< 2012.2.3; fixed 2012.2.3 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade glance to 2012.2.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2013-0212. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2013-0212.md
Affected: glance >= 2012.1, < 2012.2.3
Fixed in: 2012.2.3

Steps:
1. Search this machine and project for glance (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2013-0212 being exploited?

There is no confirmed exploitation: CVE-2013-0212 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.05% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2013-0212?

Medium: CVSS 4.0 (v2.0, scored by NVD). Remote, login needed.

### Which versions are affected by CVE-2013-0212?

glance \>= 2012.1, \< 2012.2.3.

### Is there a fix for CVE-2013-0212?

Yes. Fixed in 2012.2.3. Upgrade glance to 2012.2.3 or later.

### How do I check if I'm affected by CVE-2013-0212?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://ubuntu.com/usn/usn-1710-1>
- vendor: <http://rhn.redhat.com/errata/RHSA-2013-0209.html>
- vendor: <http://secunia.com/advisories/51990>
- vendor: <http://secunia.com/advisories/51957>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2013-0212>
- vendor: <https://github.com/advisories/GHSA-xv7j-2v4w-cjvh>
- patch: <https://github.com/openstack/glance/commit/96a470be64adcef97f235ca96ed3c59ed954a4c1>
- patch: <https://github.com/openstack/glance/commit/37d4d96bf88c2bf3e7e9511b5e321cf4bed364b7>
- patch: <https://bugzilla.redhat.com/show_bug.cgi?id=902964>
- patch: <https://github.com/openstack/glance/commit/e96273112b5b5da58d970796b7cfce04c5030a89>
- other: <https://lists.launchpad.net/openstack/msg20517.html>
- other: <https://bugs.launchpad.net/glance/+bug/1098962>
- other: <https://launchpad.net/glance/+milestone/2012.2.3>
- other: <http://www.openwall.com/lists/oss-security/2013/01/29/10>
- other: <https://access.redhat.com/errata/RHSA-2013:0209>
- other: <https://access.redhat.com/security/cve/CVE-2013-0212>
- other: <https://github.com/openstack/glance>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/glance/PYSEC-2013-37.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2013-0212>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xv7j-2v4w-cjvh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2013-37> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2013-0212> · JSON: <https://flawdb.com/api/v1/entries/CVE-2013-0212>
