{"id":"CVE-2017-7184","published":"2017-03-19T18:00:00Z","modified":"2024-08-05T15:56:35Z","title":"The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01783,"percentile":0.78653,"provenance":"source"},"cwes":[],"references":[{"url":"https://blog.trendmicro.com/results-pwn2own-2017-day-one/","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2918","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2931","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/97018","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://source.android.com/security/bulletin/2017-05-01","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038166","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df","tags":["x_refsource_CONFIRM"]},{"url":"http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition","tags":["x_refsource_MISC"]},{"url":"https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a","tags":["x_refsource_CONFIRM"]},{"url":"https://twitter.com/thezdi/status/842126074435665920","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2017/03/29/2","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2930","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4159","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":15.73},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":2,"earliest":"2025-05-16","earliestUrl":"https://github.com/b1nhack/CVE-2017-7184","repos":[{"name":"b1nhack/CVE-2017-7184","url":"https://github.com/b1nhack/CVE-2017-7184","stars":0,"created":"2025-05-16"}]},"first":{"date":"2025-05-16","source":"PoC-in-GitHub","url":"https://github.com/b1nhack/CVE-2017-7184"},"provenance":"source"},"euvd":{"id":"EUVD-2017-16222","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2012-6536-family-cve-2012-6536","parents":[{"from":"CVE-2012-6536","to":"CVE-2017-7184","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/xfrm/xfrm_user.c"],"commits":["https://github.com/torvalds/linux/commit/ecd7918745234e423dd87fcc0c077da557909720","https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df","https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a"],"basis":"shared function","functions":["xfrm_replay_state_esn"]}]}]}}