CVE-2021-40797Openstack Neutron
Medium 6.5
Follow: this CVE · Openstack · Openstack Neutron We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Sep 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-772
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Neutron.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | neutron |
< 16.4.1 |
16.4.1 |
pip install "neutron>=16.4.1" |
| PyPI | neutron |
≥ 17.0.0 < 17.2.1 |
17.2.1 |
pip install "neutron>=17.2.1" |
| PyPI | neutron |
≥ 18.0.0 < 18.1.1 |
18.1.1 |
pip install "neutron>=18.1.1" |
| PyPI | neutron |
< 16.4.1 |
16.4.1 |
pip install "neutron>=16.4.1" |
| PyPI | neutron |
≥ 17.0.0 < 17.2.1 |
17.2.1 |
pip install "neutron>=17.2.1" |
| PyPI | neutron |
≥ 18.0.0 < 18.1.1 |
18.1.1 |
pip install "neutron>=18.1.1" |
Per OSV / GitHub Advisories (GHSA-cpx3-696p-3cw9, PYSEC-2021-329). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openstack | neutron | < 16.4.1 |
| openstack | neutron | ≥ 17.0.0 < 17.2.1 |
| openstack | neutron | ≥ 18.0.0 < 18.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- launchpad.net Exploit Issue Tracking Third Party Advisory
- security.openstack.org Patch Vendor Advisory