# CVE-2021-40085: OpenStack Neutron vulnerable to authenticated attackers reconfiguring dnsmasq via crafted extra_dhcp_opts value

- 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:H/A:N`
- 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.87%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-31T17:32:24.000Z
- Modified: 2026-06-17T04:06:29.600Z
- Also known as: GHSA-fh73-gjvg-349c, PYSEC-2021-361
- Assigned by: mitre

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

(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
- debian debian_linux: 9.0; 10.0; 11.0

## 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:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/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:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://launchpad.net/bugs/1939733> (exploit, issue-tracking, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/08/31/2> (mailing-list, patch, third-party-advisory, web)
- <https://security.openstack.org/ossa/OSSA-2021-005.html> (patch, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00005.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2021/dsa-4983> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00038.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40085> (advisory)
- <https://github.com/openstack/neutron/commit/df891f0593d234e01f27d7c0376d9702e178ecfb> (web)
- <https://github.com/openstack/neutron> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/neutron/PYSEC-2021-361.yaml> (web)
- <https://github.com/advisories/GHSA-fh73-gjvg-349c> (advisory)

## Sources

- CVE List: [CVE-2021-40085](https://www.cve.org/CVERecord?id=CVE-2021-40085), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-fh73-gjvg-349c](https://github.com/advisories/GHSA-fh73-gjvg-349c), CC-BY-4.0, modified 2024-12-07
- NVD: [CVE-2021-40085](https://nvd.nist.gov/vuln/detail/CVE-2021-40085), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-361](https://osv.dev/vulnerability/PYSEC-2021-361), CC-BY-4.0, modified 2026-06-10

---

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