{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-17182 exists.","fix":"Apply the vendor's patch.","what":"CVE-2018-17182 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 19 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-17182 and fix it if it is affected.\n\nWhat it is: CVE-2018-17182 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 19 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-17182 exists.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-17182/ (Markdown: https://insights.sbomify.com/CVE-2018-17182/index.md)","id":"CVE-2018-17182","markdown":"https://insights.sbomify.com/CVE-2018-17182/index.md","name":"CVE-2018-17182","record":{"aliases":["DEBIAN-CVE-2018-17182","GHSA-v788-jmxr-wgj9","SUSE-SU-2018:3032-1","SUSE-SU-2018:3032-2","SUSE-SU-2018:3100-1","UBUNTU-CVE-2018-17182"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"An attacker can trigger a use-after-free in the Linux kernel vmacache to potentially gain privileges or execute code via specific memory operations.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"linux_kernel","vendor":"linux"},{"product":"active_iq_performance_analytics_services","vendor":"netapp"},{"product":"element_software","vendor":"netapp"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"An issue was discovered in the Linux kernel through 4.18.8. The vmacache_flush_all function in mm/vmacache.c mishandles sequence number overflows. An attacker can trigger a use-after-free (and possibly gain privileges) via certain thread creation, map, unmap, invalidation, and dereference operations.","ecosystems":["SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4"],"exploits":{"exploitdb":2,"first_seen":"2018-09-26","github_poc":4,"max_poc_stars":130,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-09-29T15:58:55Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2018-17182","stars":130,"title":"Linux 内核VMA-UAF 提权漏洞（CVE-2018-17182）,0day"},{"date":"2018-10-01T03:29:04Z","kind":"github_poc","ref":"https://github.com/likekabin/vmacache_CVE-2018-17182","stars":1,"title":null},{"date":"2018-09-26","kind":"exploitdb","ref":"45497","stars":null,"title":"Linux Kernel - VMA Use-After-Free via Buggy vmacache_flush_all() Fastpath Local Privilege Escalation"},{"date":"2018-09-26","kind":"exploitdb","ref":"45497","stars":null,"title":"Linux Kernel - VMA Use-After-Free via Buggy vmacache_flush_all() Fastpath Local Privilege Escalation"},{"date":"2018-10-01T03:20:05Z","kind":"github_poc","ref":"https://github.com/likekabin/CVE-2018-17182","stars":0,"title":null},{"date":"2023-04-07T10:35:24Z","kind":"github_poc","ref":"https://github.com/jedai47/cve-2018-17182","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Use after free in n/a","id":"CVE-2018-17182","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","linux:linux_kernel","netapp:element_software"],"type":"use_after_free","year":"2018"},"n_packages":30,"n_references":16,"next":{"headline":"Code injection in n/a","id":"CVE-2018-17183"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-ec2","purl":"pkg:rpm/suse/kernel-ec2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-bigmem","purl":"pkg:rpm/suse/kernel-bigmem\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-default","purl":"pkg:rpm/suse/kernel-default\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-ec2","purl":"pkg:rpm/suse/kernel-ec2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-pae","purl":"pkg:rpm/suse/kernel-pae\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-ppc64","purl":"pkg:rpm/suse/kernel-ppc64\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-source","purl":"pkg:rpm/suse/kernel-source\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-syms","purl":"pkg:rpm/suse/kernel-syms\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-trace","purl":"pkg:rpm/suse/kernel-trace\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/suse/kernel-xen\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-default","purl":"pkg:rpm/suse/kernel-default\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-source","purl":"pkg:rpm/suse/kernel-source\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-syms","purl":"pkg:rpm/suse/kernel-syms\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/suse/kernel-xen\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["1-2.3.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP1_Update_32","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP1_Update_32\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2018:3032-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-bigmem","purl":"pkg:rpm/suse/kernel-bigmem\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-default","purl":"pkg:rpm/suse/kernel-default\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-ec2","purl":"pkg:rpm/suse/kernel-ec2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-pae","purl":"pkg:rpm/suse/kernel-pae\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-ppc64","purl":"pkg:rpm/suse/kernel-ppc64\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-source","purl":"pkg:rpm/suse/kernel-source\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-syms","purl":"pkg:rpm/suse/kernel-syms\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-trace","purl":"pkg:rpm/suse/kernel-trace\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/suse/kernel-xen\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2018:3100-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-default","purl":"pkg:rpm/suse/kernel-default\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2018:3032-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-source","purl":"pkg:rpm/suse/kernel-source\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2018:3032-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-syms","purl":"pkg:rpm/suse/kernel-syms\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2018:3032-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["3.12.74-60.64.107.1"],"introduced":["0"],"last_affected":[],"package":"kernel-xen","purl":"pkg:rpm/suse/kernel-xen\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2018:3032-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["1-2.3.1"],"introduced":["0"],"last_affected":[],"package":"kgraft-patch-SLE12-SP1_Update_32","purl":"pkg:rpm/suse/kgraft-patch-SLE12-SP1_Update_32\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2018:3032-2"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["3.0.101-108.77.1"],"introduced":["0"],"last_affected":[],"package":"kernel-docs","purl":"pkg:rpm/suse/kernel-docs\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2018:3100-1"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2018-17181"},"products":["n/a"],"published":"2018-09-19","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"An attacker can trigger a use-after-free in the Linux kernel vmacache to potentially gain privileges or execute code via specific memory operations.","url":"https://insights.sbomify.com/CVE-2018-17182/"}