NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2021-40085 — neutron

MEDIUMFix: openstack/neutron@df891f0

CVE-2021-40085 is a medium-severity (CVSS 6.5) vulnerability in neutron. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for neutron — see the affected versions and patch details below.

OpenStack Neutron vulnerable to authenticated attackers reconfiguring dnsmasq via crafted extra_dhcp_opts value

Also known asGHSA-fh73-gjvg-349cPYSEC-2021-361
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
1 known
Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.9%probability of exploitation in next 30 days
Lower Risk+0.04%
Lower risk than most CVEs79th percentile — riskier than 79% of all scored CVEsHighest risk
0.00%0.80%1.59%2.39%0.4%1.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
🐍neutron🐍neutron🐍neutron

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIneutronall versions16.4.1pip install --upgrade 'neutron==16.4.1'
🐍PyPIneutron≥ 17.0.0&&< 17.2.117.2.1pip install --upgrade 'neutron==17.2.1'
🐍PyPIneutron≥ 18.0.0&&< 18.1.118.1.1pip install --upgrade 'neutron==18.1.1'

Affected Products

2 products · 6 configurations
OS
debian linuxdebian
3 versions
9.010.011.0
Application
neutronopenstack
≥ 18.0.0 && < 18.1.1
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for neutron, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update neutron to 16.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-40085 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

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…

Workaround published by Red Hat
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.
Source: Red Hat security advisory for CVE-2021-40085 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat OpenStack Platform 10.0 (Newton)openstack-neutron-1:9.4.1-56.el7ostRHSA-2021:3502
Red Hat OpenStack Platform 13.0 - ELSopenstack-neutron-1:12.1.1-42.1.el7ostRHSA-2021:3503
Red Hat OpenStack Platform 16.1openstack-neutron-1:15.2.1-1.20210409073447.el8ostRHSA-2021:3481
Red Hat OpenStack Platform 16.2openstack-neutron-1:15.3.5-2.20210608154813.el8ost.3RHSA-2021:3488

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-40085 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2021-40085: neutron — Fixed in 16.4.1