cve.bz

CVE-2021-40797 openstack neutron

6.5 mediumExploit referenceEPSS 1.8%Fix available

Medium (6.5) in openstack neutron. EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in neutron 16.4.1, 17.2.1, 18.1.1.

On this page
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.

Severity

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
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-772 Missing Release of Resource after Effective Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-40797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40797?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openstack:neutronbefore 16.4.1
openstack:neutronfrom 17.0.0 before 17.2.1
openstack:neutronfrom 18.0.0 before 18.1.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cpx3-696p-3cw9PyPIneutron<16.4.116.4.1
GHSA-cpx3-696p-3cw9PyPIneutron>=17.0.0 <17.2.117.2.1
GHSA-cpx3-696p-3cw9PyPIneutron>=18.0.0 <18.1.118.1.1
PYSEC-2021-329PyPIneutron<16.4.1
>=17.0.0 <17.2.1
>=18.0.0 <18.1.1
16.4.1, 17.2.1, 18.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14neutron2:19.0.0-1DEBIAN-CVE-2021-40797
Ubuntu16.04:LTSneutronno fix listedUBUNTU-CVE-2021-40797
Ubuntu18.04:LTSneutron2:12.1.1-0ubuntu8.1UBUNTU-CVE-2021-40797 USN-6067-1
Ubuntu20.04:LTSneutron2:16.4.2-0ubuntu6.2UBUNTU-CVE-2021-40797 USN-6067-1
Ubuntu22.04:LTSneutron2:20.3.0-0ubuntu1.1USN-6067-1
Red Hatopenstack:16.1::el8python3-neutron, openstack-neutron, openstack-neutron-ml2 and 7 more1:15.2.1-1.20220112133420.el8ostRHSA-2022:0990
Red Hatopenstack:16.2::el8python3-neutron, openstack-neutron, openstack-neutron-ml2 and 7 more1:15.3.5-2.20220113150031.el8ostRHSA-2022:0996
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8openstack-neutron, openstack-neutron-doc11.0.9~dev69-3.43.1SUSE-SU-2022:1884-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 16.1openstack-neutron-1:15.2.1-1.20220112133420.el8ostFixed 2022-03-24RHSA-2022:0990
Red Hat OpenStack Platform 16.2openstack-neutron-1:15.3.5-2.20220113150031.el8ostFixed 2022-03-23RHSA-2022:0996
Red Hat Integration Camel K 1openstack-neutronNot affected
Red Hat OpenStack Platform 10 (Newton)openstack-neutronOut of support scope
Red Hat OpenStack Platform 13 (Queens)openstack-neutronOut of support scope
Red Hat OpenStack Platform 17.1openstack-neutronOut of support scope
Red Hat OpenStack Platform 18.0openstack-neutronFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-40797.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON