# CVE-2022-3277: openstack-neutron uncontrolled resource consumption flaw

> A remote authenticated user can cause denial of service in OpenStack Neutron by querying invalid projects to create unconstrained resources.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 6 Mar 2023
- **Updated:** 7 Mar 2025
- **Also known as:** DEBIAN-CVE-2022-3277, GHSA-w446-h7vg-wv3p, PYSEC-2026-855, RHSA-2022:8855, RHSA-2022:8870, RHSA-2023:0275, UBUNTU-CVE-2022-3277

## What is CVE-2022-3277?

CVE-2022-3277 is a medium-severity denial of service vulnerability in openstack-neutron, published on 6 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

An uncontrolled resource consumption flaw was found in openstack-neutron. This flaw allows a remote authenticated user to query a list of security groups for an invalid project. This issue creates resources that are unconstrained by the user's quota. If a malicious user were to submit a significant number of requests, this could lead to a denial of service.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2022-3277?

7 open source packages ship an affected version, including neutron. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `neutron` | PyPI | All versions | 18.6.0, 19.5.0, 20.3.0 |
| `neutron` | PyPI | All versions | 18.6.0 |
| `neutron` | PyPI | All versions | 18.6.0 |
| `neutron` | PyPI | From 19.0.0.0rc1 | 19.5.0 |
| `neutron` | PyPI | From 19.0.0.0rc1 | 19.5.0 |
| `neutron` | PyPI | From 20.0.0.0rc1 | 20.3.0 |
| `neutron` | PyPI | From 20.0.0.0rc1 | 20.3.0 |
| `openstack-neutron` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-common` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-linuxbridge` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-macvtap-agent` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-metering-agent` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-ml2` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-openvswitch` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-rpc-server` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron-sriov-nic-agent` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `python3-neutron` | Red Hat:openstack:16.1::el8 | All versions | 1:15.2.1-1.20221005123225.40d217c.el8ost |
| `openstack-neutron` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-common` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-linuxbridge` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-macvtap-agent` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-metering-agent` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-ml2` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-openvswitch` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-rpc-server` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron-sriov-nic-agent` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `python3-neutron` | Red Hat:openstack:16.2::el8 | All versions | 1:15.3.5-2.20221005184727.c81fb5b.el8ost |
| `openstack-neutron` | Red Hat:openstack:17.0::el9 | All versions | 1:18.4.1-0.20221128170741.5258354.el9ost |

Products: Openstack Neutron, Redhat Openstack Platform.

## How do I fix CVE-2022-3277?

Upgrade neutron to a fixed version for your release line: 18.6.0, 19.5.0 or 20.3.0.

## Is CVE-2022-3277 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3277 exists.

## Other vulnerabilities in openstack-neutron

- [CVE-2021-38598](https://insights.sbomify.com/CVE-2021-38598/): OpenStack Neutron vulnerable to hardware address impersonation (critical 9.1)
- [CVE-2015-8914](https://insights.sbomify.com/CVE-2015-8914/): OpenStack Neutron allows remote attackers to bypass an intended ICMPv6-spoofing protection mechanism (critical 9.1)
- [CVE-2016-5362](https://insights.sbomify.com/CVE-2016-5362/): OpenStack Neutron allows remote attackers to bypass an intended DHCP-spoofing protection mechanism (high 8.2)
- [CVE-2016-5363](https://insights.sbomify.com/CVE-2016-5363/): OpenStack Neutron Intended MAC-spoofing protection mechanism bypass (high 8.2)
- [CVE-2014-3632](https://insights.sbomify.com/CVE-2014-3632/): Privilege escalation in n/a (high 7.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-3277 and fix it if it is affected.

What it is: CVE-2022-3277 is a medium-severity denial of service vulnerability in openstack-neutron, published on 6 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3277 exists.

Affected packages and fixed versions:
- neutron (PyPI): affected all versions; fixed in 18.6.0, 19.5.0, 20.3.0
- neutron (PyPI): affected all versions; fixed in 18.6.0
- neutron (PyPI): affected all versions; fixed in 18.6.0
- neutron (PyPI): affected from 19.0.0.0rc1; fixed in 19.5.0
- neutron (PyPI): affected from 19.0.0.0rc1; fixed in 19.5.0
- neutron (PyPI): affected from 20.0.0.0rc1; fixed in 20.3.0
- neutron (PyPI): affected from 20.0.0.0rc1; fixed in 20.3.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-2022-3277/ (Markdown: https://insights.sbomify.com/CVE-2022-3277/index.md)
```

## Sources

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

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