Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-40797

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-40797
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:35 UTC · Revision 1

Source evidence

CVE-2021-40797

core-osv · Original source

Published 8 Sept 2021, 20:15 UTC

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.

osv:CVE-2021-40797
Complete source record
{
  "id": "b7d3e929416ac8c57f6e53d3e8e0389c9095731ac2dc2c5eb109ad2f5a485a7c",
  "url": "https://osv.dev/vulnerability/CVE-2021-40797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40797",
    "summary": "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.",
    "evidence": "osv:CVE-2021-40797",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-40797",
      "aliases": [
        "CVE-2021-40797",
        "GHSA-cpx3-696p-3cw9",
        "PYSEC-2021-329"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openstack/neutron",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6a761dc42da99625bb18b4aabf4e2b340396c78c"
                },
                {
                  "introduced": "f7282d909ed3f5834748995b00b70413f1b43495"
                },
                {
                  "fixed": "d961731a73128125ebf03fae52b4b34f3e7abf27"
                },
                {
                  "introduced": "5858f6c5023121ea645c832ab87f078f0249adeb"
                },
                {
                  "fixed": "c5e86f4f8f7e36233f383323e24e72dbe28efc04"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openstack:neutron:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "16.4.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openstack:neutron:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "17.0.0"
                      },
                      {
                        "fixed": "17.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openstack:neutron:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "18.0.0"
                      },
                      {
                        "fixed": "18.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "18.1.0",
            "16.4.0",
            "17.2.0",
            "16.3.2",
            "17.1.2",
            "18.0.0.0rc2",
            "18.0.0",
            "17.1.1",
            "16.3.1",
            "17.1.0",
            "16.3.0",
            "17.0.0.0rc2",
            "17.0.0",
            "16.2.0",
            "16.1.0",
            "16.0.0.0rc2",
            "16.0.0",
            "16.0.0.0rc1",
            "16.0.0.0b1",
            "15.0.0.0b1",
            "15.0.0.0rc1",
            "14.0.0.0b2",
            "14.0.0.0rc1",
            "14.0.0",
            "14.0.0.0b3",
            "14.0.0.0b1",
            "13.0.0.0rc1",
            "13.0.0.0b3",
            "13.0.0.0b2",
            "13.0.0.0b1",
            "12.0.0.0rc1",
            "12.0.0.0b3",
            "12.0.0.0b2",
            "12.0.0.0b1",
            "11.0.0.0rc1",
            "11.0.0.0b3",
            "11.0.0.0b2",
            "11.0.0.0b1",
            "10.0.0.0b3",
            "10.0.0.0rc1",
            "10.0.0.0b2",
            "10.0.0.0b1",
            "9.0.0.0b3",
            "9.0.0.0rc1",
            "9.0.0.0b2",
            "9.0.0.0b1",
            "8.0.0.0rc1",
            "8.0.0.0b3",
            "8.0.0.0b2",
            "8.0.0.0b1",
            "7.0.0.0b3",
            "7.0.0.0b2",
            "7.0.0.0b1",
            "7.0.0a0",
            "2015.1.0rc1",
            "2015.1.0b3",
            "2015.1.0b2",
            "2015.1.0b1",
            "2014.2.b2",
            "2014.2.rc1",
            "2014.2.b3",
            "2014.2.b1",
            "2014.1.rc1",
            "2014.1.b3",
            "2014.1.b2",
            "2014.1.b1",
            "2013.2.rc1",
            "2013.2.b2",
            "2013.1.g3",
            "grizzly-1",
            "folsom-3",
            "folsom-1",
            "essex-3",
            "essex-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40797.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:41.650179549Z",
      "provider": "osv",
      "references": [
        "https://launchpad.net/bugs/1942179",
        "https://security.openstack.org/ossa/OSSA-2021-006.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-40797",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435187,
  "published_at": "2021-09-08T20:15:11.06+00:00"
}