CVE-2021-40797
publishedopenstack-neutron: Routes middleware memory leak for nonexistent controllers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Ubuntu | bionic | neutron | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-common | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-dhcp-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-l3-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-linuxbridge-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-macvtap-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-metadata-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | neutron-metering-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-openvswitch-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-plugin-linuxbridge-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-plugin-ml2 | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-plugin-openvswitch-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-plugin-sriov-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-server | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | neutron-sriov-agent | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | bionic | python-neutron | Advisory build | 2:12.1.1-0ubuntu8.1 | USN-6067-1 |
| Ubuntu | focal | neutron | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-common | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-dhcp-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-l3-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-linuxbridge-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-macvtap-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-metadata-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-metering-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-openvswitch-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-ovn-metadata-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-plugin-ml2 | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-server | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | neutron-sriov-agent | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
| Ubuntu | focal | python3-neutron | Advisory build | 2:16.4.2-0ubuntu6.2 | USN-6067-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- [oss-security] 20210909 [OSSA-2021-006] Neutron: Routes middleware memory leak for nonexistent controllers (CVE-2021-40797) http://www.openwall.com/lists/oss-security/2021/09/09/2
- https://launchpad.net/bugs/1942179
- https://security.openstack.org/ossa/OSSA-2021-006.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 105ede3b8ea7534d78f38e6998e802344547e18bae256345e57177a483f99c45
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record