# CVE-2021-40797: OpenStack Neutron Denial of Service vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.81%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-08T19:11:40.000Z
- Modified: 2026-06-17T04:07:27.940Z
- Also known as: GHSA-cpx3-696p-3cw9, PYSEC-2021-329
- Weaknesses: CWE-772
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- neutron (PyPI): before 16.4.1; from 17.0.0 before 17.2.1; from 18.0.0 before 18.1.1
- openstack neutron: before 16.4.1; from 17.0.0 before 17.2.1; from 18.0.0 before 18.1.1

## Every score

- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://launchpad.net/bugs/1942179> (exploit, issue-tracking, third-party-advisory, web)
- <https://security.openstack.org/ossa/OSSA-2021-006.html> (patch, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/09/09/2> (mailing-list, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40797> (advisory)
- <https://github.com/openstack/neutron/commit/e610a5eb9e71aa2549fb11e2139370d227787da2> (web)
- <https://github.com/openstack/neutron> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/neutron/PYSEC-2021-329.yaml> (web)
- <https://github.com/advisories/GHSA-cpx3-696p-3cw9> (advisory)

## Sources

- CVE List: [CVE-2021-40797](https://www.cve.org/CVERecord?id=CVE-2021-40797), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cpx3-696p-3cw9](https://github.com/advisories/GHSA-cpx3-696p-3cw9), CC-BY-4.0, modified 2024-09-25
- NVD: [CVE-2021-40797](https://nvd.nist.gov/vuln/detail/CVE-2021-40797), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-329](https://osv.dev/vulnerability/PYSEC-2021-329), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-40797 · Whole record: https://cve.day/CVE-2021-40797.json · Rebuilt by cve.day 2026-11-25T22:58:03.813Z
