# CVE-2021-40797

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-08 · Modified: 2024-08-04
- Aliases: GHSA-cpx3-696p-3cw9, PYSEC-2021-329, RHSA-2022:0990, RHSA-2022:0996, UBUNTU-CVE-2021-40797, DEBIAN-CVE-2021-40797
- Record: https://cvemate.com/vulnerability/CVE-2021-40797 · JSON: https://cvemate.com/vulnerability/CVE-2021-40797/json

## Description

```text
An issue was discovered in the routes middleware in OpenStack Neutron before 16.4.1, 17.x before 17.2.1, and 18.x before 18.1.1. By making API requests involving nonexistent controllers, an authenticated user may cause the API worker to consume increasing amounts of memory, resulting in API performance degradation or denial of service.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.809%, percentile 79.355%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian neutron (Debian): \< 2:19.0.0-1
- ubuntu neutron (Ubuntu): All versions (No fix recorded) \| \< 2:12.1.1-0ubuntu8.1 \| \< 2:16.4.2-0ubuntu6.2
- openstack neutron: \< 16.4.1 \| ≥ 17.0.0, \< 17.2.1 \| ≥ 18.0.0, \< 18.1.1
- PyPI neutron (PyPI): \< 16.4.1 \| ≥ 17.0.0, \< 17.2.1 \| ≥ 18.0.0, \< 18.1.1
- redhat openstack-neutron (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-common (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-linuxbridge (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-macvtap-agent (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-metering-agent (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-ml2 (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-openvswitch (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-rpc-server (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat openstack-neutron-sriov-nic-agent (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost
- redhat python3-neutron (Red Hat): \< 1:15.2.1-1.20220112133420.el8ost \| \< 1:15.3.5-2.20220113150031.el8ost

## References (first 20 of 40)

- <https://launchpad.net/bugs/1942179>
- <https://security.openstack.org/ossa/OSSA-2021-006.html>
- <http://www.openwall.com/lists/oss-security/2021/09/09/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40797>
- <https://github.com/openstack/neutron/commit/e610a5eb9e71aa2549fb11e2139370d227787da2>
- <https://github.com/openstack/neutron>
- <https://github.com/pypa/advisory-database/tree/main/vulns/neutron/PYSEC-2021-329.yaml>
- <https://github.com/advisories/GHSA-cpx3-696p-3cw9>
- <https://access.redhat.com/errata/RHSA-2022:0990>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1963903>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1993130>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1993688>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1997610>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1999125>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2001626>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2003248>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2026576>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2033584>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2049807>

---

Data as of 2026-12-05T03:53:03.829Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
