cve.bz

CVE-2021-40085

6.5 mediumExploit referenceEPSS 1.9%Fix available

Medium (6.5). EPSS 1.9% 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 OpenStack Neutron before 16.4.1, 17.x before 17.2.1, and 18.x before 18.1.1. Authenticated attackers can reconfigure dnsmasq via a crafted extra_dhcp_opts value.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
1.9% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
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-40085 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40085?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40085?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-40085 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
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fh73-gjvg-349cPyPIneutron<16.4.116.4.1
GHSA-fh73-gjvg-349cPyPIneutron>=17.0.0 <17.2.117.2.1
GHSA-fh73-gjvg-349cPyPIneutron>=18.0.0 <18.1.118.1.1
PYSEC-2021-361PyPIneutron<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
Debian9neutron2:9.1.1-3+deb9u3DLA-3027-1
Debian10neutron2:13.0.7+git.2021.09.27.bace3d1890-0+deb10u1DSA-4983-1
Debian11neutron2:17.2.1-0+deb11u1DSA-4983-1
Debian12, 13, 14neutron2:18.1.0-3DEBIAN-CVE-2021-40085
Ubuntu16.04:LTSneutronno fix listedUBUNTU-CVE-2021-40085
Ubuntu18.04:LTSneutron2:12.1.1-0ubuntu8.1UBUNTU-CVE-2021-40085 USN-6067-1
Ubuntu20.04:LTSneutron2:16.4.2-0ubuntu6.2UBUNTU-CVE-2021-40085 USN-6067-1
Ubuntu22.04:LTSneutron2:20.3.0-0ubuntu1.1USN-6067-1
Red Hatopenstack:10::el7python-neutron, openstack-neutron, python-neutron-tests and 8 more1:9.4.1-56.el7ostRHSA-2021:3502
Red Hatopenstack:13::el7python-neutron, openstack-neutron, openstack-neutron-ml2 and 7 more1:12.1.1-42.1.el7ostRHSA-2021:3503
Red Hatopenstack:16.1::el8python3-neutron, openstack-neutron, openstack-neutron-ml2 and 7 more1:15.2.1-1.20210409073447.el8ostRHSA-2021:3481
Red Hatopenstack:16.2::el8python3-neutron, openstack-neutron, openstack-neutron-ml2 and 7 more1:15.3.5-2.20210608154813.el8ost.3RHSA-2021:3488
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
SUSEOpenStack Cloud 9ardana-barbican9.0+git.1644879908.8a641c1-3.13.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-barbican7.0.1~dev24-3.35.2SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-cinder13.0.10~dev24-3.38.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-designate7.0.2~dev2-3.35.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-glance17.0.1~dev30-3.33.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-heat11.0.4~dev4-3.35.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-horizon14.1.1~dev11-4.39.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-ironic11.1.5~dev18-4.33.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-keystone14.2.1~dev9-3.36.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-magnum7.2.1~dev1-4.35.1SUSE-SU-2022:1729-1
SUSEOpenStack Cloud 9venv-openstack-manila7.4.2~dev60-3.41.1SUSE-SU-2022:1729-1
21 more for SUSE in the JSON and on SUSE's page.

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

Red Hat's statement

IMPORTANT impact affects Red Hat OpenStack Platform deployments using openstack-neutron. An authenticated attacker can submit crafted extra_dhcp_opts values to alter the dnsmasq configuration, crash the service, or change parameters for other tenants sharing the same interface. The input may also trigger a configuration-parsing buffer overflow in dnsmasq versions before 2.81, potentially leading to remote code execution. The highest threat is to system availability, with lower impacts to confidentiality and integrity. The current affects data also identifies Community Projects as affected, while entries for Red Hat OpenStack Platform 16.2, 17.1, and 18.0, and Red Hat build of Apache Camel, are marked not affected because the vulnerable code is not present. For affected Red Hat OpenStack Platform streams marked DELEGATED, a fix is being pursued.

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 10.0 (Newton)openstack-neutron-1:9.4.1-56.el7ostFixed 2021-09-13RHSA-2021:3502
Red Hat OpenStack Platform 13.0 - ELSopenstack-neutron-1:12.1.1-42.1.el7ostFixed 2021-09-13RHSA-2021:3503
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUSopenstack-neutron-1:12.1.1-42.1.el7ostFixed 2021-09-13RHSA-2021:3503
Red Hat OpenStack Platform 16.1openstack-neutron-1:15.2.1-1.20210409073447.el8ostFixed 2021-09-09RHSA-2021:3481
Red Hat OpenStack Platform 16.2openstack-neutron-1:15.3.5-2.20210608154813.el8ost.3Fixed 2021-09-15RHSA-2021:3488
Red Hat Integration Camel K 1openstack-neutronNot affected
Red Hat OpenStack Platform 17.1openstack-neutronNot affected
Red Hat OpenStack Platform 18.0openstack-neutronNot affected

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

References

Check your stackJSON