{"answers":{"affected":"It affects 29 products.","exploited":"Yes. Attackers have exploited CVE-2022-0847 in the wild since at least 25 Apr 2022.","fix":"Apply the vendor's patch. US federal agencies must fix it by 16 May 2022.","what":"CVE-2022-0847 is a high-severity vulnerability in Fedoraproject Fedora, published on 7 Mar 2022. 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-2022-0847 and fix it if it is affected.\n\nWhat it is: CVE-2022-0847 is a high-severity vulnerability in Fedoraproject Fedora, published on 7 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-0847 in the wild since at least 25 Apr 2022.\n\nAffected product: Fedoraproject Fedora. 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-2022-0847/ (Markdown: https://insights.sbomify.com/CVE-2022-0847/index.md)","id":"CVE-2022-0847","markdown":"https://insights.sbomify.com/CVE-2022-0847/index.md","name":"CVE-2022-0847","record":{"aliases":["A-220741611","ASB-A-220741611","AZL-8900","CLSA-2022-1648067859","CLSA-2022-1648068022","DEBIAN-CVE-2022-0847","RHSA-2022:0822","RHSA-2022:0831","UBUNTU-CVE-2022-0847"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"An unprivileged local user can escalate privileges by exploiting uninitialized pipe buffer flags to write to read-only page cache files.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"linux_kernel","vendor":"linux"},{"product":"h300e_firmware","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500e_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700e_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"ovirt-engine","vendor":"ovirt"},{"product":"codeready_linux_builder","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_for_real_time","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_for_nfv","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_for_nfv_tus","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_tus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_server_update_services_for_sap_solutions","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"},{"product":"scalance_lpe9403_firmware","vendor":"siemens"},{"product":"sma1000_firmware","vendor":"sonicwall"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","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-665","name":"Improper Initialization"}],"description":"A flaw was found in the way the \"flags\" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.","ecosystems":["Red Hat:rhel_eus:8.4::baseos","Red Hat:rhel_eus:8.4::crb","Red Hat:rhel_eus:8.4::nfv","Red Hat:rhel_eus:8.4::realtime"],"exploits":{"exploitdb":1,"first_seen":"2022-02-20","github_poc":109,"max_poc_stars":1139,"metasploit":1,"nuclei":0,"refs":[{"date":"2022-03-07T18:55:20Z","kind":"github_poc","ref":"https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit","stars":1139,"title":"A root exploit for CVE-2022-0847 (Dirty Pipe)"},{"date":"2022-03-12T20:57:24Z","kind":"github_poc","ref":"https://github.com/AlexisAhmed/CVE-2022-0847-DirtyPipe-Exploits","stars":737,"title":"A collection of exploits and documentation that can be used to exploit the Linux Dirty Pipe vulnerability."},{"date":"2022-03-07T18:36:50Z","kind":"github_poc","ref":"https://github.com/r1is/CVE-2022-0847","stars":281,"title":"CVE-2022-0847-DirtyPipe-Exploit   CVE-2022-0847 是存在于 Linux内核 5.8 及之后版本中的本地提权漏洞。攻击者通过利用此漏洞，可覆盖重写任意可读文件中的数据，从而可将普通权限的用户提升到特权 root。    CVE-2022-0847 的漏洞原理类似于 CVE-2016-5195 脏牛漏洞（Dirty Cow），但它更容易被利用。漏洞作者将此漏洞命名为“Dirty Pipe”"},{"date":"2022-03-09T02:47:08Z","kind":"github_poc","ref":"https://github.com/Al1ex/CVE-2022-0847","stars":90,"title":"CVE-2022-0847"},{"date":"2022-03-09T19:38:44Z","kind":"github_poc","ref":"https://github.com/DataDog/dirtypipe-container-breakout-poc","stars":77,"title":"Container Excape PoC for CVE-2022-0847 \"DirtyPipe\""},{"date":"2022-03-08T17:13:24Z","kind":"github_poc","ref":"https://github.com/basharkey/CVE-2022-0847-dirty-pipe-checker","stars":72,"title":"Bash script to check for CVE-2022-0847 \"Dirty Pipe\""},{"date":"2022-03-08T09:10:51Z","kind":"github_poc","ref":"https://github.com/ZZ-SOCMAP/CVE-2022-0847","stars":58,"title":"Linux Kernel Local Privilege Escalation Vulnerability CVE-2022-0847."},{"date":"2022-03-07T15:50:18Z","kind":"github_poc","ref":"https://github.com/bbaranoff/CVE-2022-0847","stars":50,"title":"CVE-2022-0847"}],"tier":"exploited"},"has_fix":true,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2022-0847","indexable":true,"kev":{"dateAdded":"2022-04-25","dueDate":"2022-05-16","knownRansomwareCampaignUse":"Unknown","product":"Kernel","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Linux","vulnerabilityName":"Linux Kernel Privilege Escalation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","linux:linux_kernel","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:enterprise_linux_server_tus","redhat:virtualization_host"],"type":"privilege_escalation","year":"2022"},"n_packages":71,"n_references":10,"next":{"headline":"OS Command Injection in part-db/part-db","id":"CVE-2022-0848"},"packages":[{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"bpftool","purl":"pkg:rpm/redhat/bpftool","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules","purl":"pkg:rpm/redhat/kernel-debug-modules","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-debug-modules-extra","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-aarch64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-aarch64","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-ppc64le","purl":"pkg:rpm/redhat/kernel-debuginfo-common-ppc64le","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-s390x","purl":"pkg:rpm/redhat/kernel-debuginfo-common-s390x","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-modules","purl":"pkg:rpm/redhat/kernel-modules","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-extra","purl":"pkg:rpm/redhat/kernel-modules-extra","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-tools","purl":"pkg:rpm/redhat/kernel-tools","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-debuginfo","purl":"pkg:rpm/redhat/kernel-tools-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-libs","purl":"pkg:rpm/redhat/kernel-tools-libs","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump","purl":"pkg:rpm/redhat/kernel-zfcpdump","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-core","purl":"pkg:rpm/redhat/kernel-zfcpdump-core","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-debuginfo","purl":"pkg:rpm/redhat/kernel-zfcpdump-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-devel","purl":"pkg:rpm/redhat/kernel-zfcpdump-devel","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-modules","purl":"pkg:rpm/redhat/kernel-zfcpdump-modules","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-modules-extra","purl":"pkg:rpm/redhat/kernel-zfcpdump-modules-extra","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"python3-perf","purl":"pkg:rpm/redhat/python3-perf","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"python3-perf-debuginfo","purl":"pkg:rpm/redhat/python3-perf-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-aarch64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-aarch64","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-ppc64le","purl":"pkg:rpm/redhat/kernel-debuginfo-common-ppc64le","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2022:0831"},{"ecosystem":"Red Hat:rhel_eus:8.4::crb","fixed":["0:4.18.0-305.40.2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-debuginfo","purl":"pkg:rpm/redhat/kernel-tools-debuginfo","source":"RHSA-2022:0831"}],"prev":{"headline":"SpeakOut! Email Petitions \u003c 2.14.15.1 - Unauthenticated SQLi","id":"CVE-2022-0846"},"products":["kernel"],"published":"2022-03-07","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"An unprivileged local user can escalate privileges by exploiting uninitialized pipe buffer flags to write to read-only page cache files.","url":"https://insights.sbomify.com/CVE-2022-0847/"}