{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-1304 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-1304 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 14 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-1304 and fix it if it is affected.\n\nWhat it is: CVE-2022-1304 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 14 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-1304 in the wild and no public exploit code.\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-1304/ (Markdown: https://insights.sbomify.com/CVE-2022-1304/index.md)","id":"CVE-2022-1304","markdown":"https://insights.sbomify.com/CVE-2022-1304/index.md","name":"CVE-2022-1304","record":{"aliases":["ALPINE-CVE-2022-1304","ALSA-2022:7720","ALSA-2022:8361","AZL-9407","CLSA-2024-1711476689","DEBIAN-CVE-2022-1304","DLA-3910-1","GHSA-jrv4-gggm-r53c","MGASA-2022-0384","OESA-2022-1719","RHBA-2023:7393","RHSA-2022:7720","RHSA-2022:8361","RLSA-2022:7720","RLSA-2022:8361","SUSE-SU-2022:1652-1","SUSE-SU-2022:1688-1","SUSE-SU-2022:1695-1","SUSE-SU-2022:1718-1","UBUNTU-CVE-2022-1304","USN-5464-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux filesystem utilities","requires_auth":"none","summary":"Attackers can trigger arbitrary code execution or crashes in e2fsprogs by mounting a specially crafted filesystem.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"e2fsprogs","vendor":"e2fsprogs_project"},{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5. This issue leads to a segmentation fault and possibly arbitrary code execution via a specially crafted filesystem.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.6::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in e2fsprogs","id":"CVE-2022-1304","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux"],"type":"memory_corruption","year":"2022"},"n_packages":106,"n_references":1,"next":{"headline":"Use after free in Chrome","id":"CVE-2022-1305"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs","purl":"pkg:rpm/almalinux/e2fsprogs","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-devel","purl":"pkg:rpm/almalinux/e2fsprogs-devel","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs","purl":"pkg:rpm/almalinux/e2fsprogs-libs","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err","purl":"pkg:rpm/almalinux/libcom_err","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err-devel","purl":"pkg:rpm/almalinux/libcom_err-devel","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss","purl":"pkg:rpm/almalinux/libss","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:8","fixed":["1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss-devel","purl":"pkg:rpm/almalinux/libss-devel","source":"ALSA-2022:7720"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs","purl":"pkg:rpm/almalinux/e2fsprogs","source":"ALSA-2022:8361"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-devel","purl":"pkg:rpm/almalinux/e2fsprogs-devel","source":"ALSA-2022:8361"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs","purl":"pkg:rpm/almalinux/e2fsprogs-libs","source":"ALSA-2022:8361"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libcom_err","purl":"pkg:rpm/almalinux/libcom_err","source":"ALSA-2022:8361"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libcom_err-devel","purl":"pkg:rpm/almalinux/libcom_err-devel","source":"ALSA-2022:8361"},{"ecosystem":"AlmaLinux:9","fixed":["1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libss","purl":"pkg:rpm/almalinux/libss","source":"ALSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs","purl":"pkg:rpm/redhat/e2fsprogs","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debugsource","purl":"pkg:rpm/redhat/e2fsprogs-debugsource","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-devel","purl":"pkg:rpm/redhat/e2fsprogs-devel","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs","purl":"pkg:rpm/redhat/e2fsprogs-libs","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-libs-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err","purl":"pkg:rpm/redhat/libcom_err","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err-debuginfo","purl":"pkg:rpm/redhat/libcom_err-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err-devel","purl":"pkg:rpm/redhat/libcom_err-devel","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss","purl":"pkg:rpm/redhat/libss","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss-debuginfo","purl":"pkg:rpm/redhat/libss-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debugsource","purl":"pkg:rpm/redhat/e2fsprogs-debugsource","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-libs-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libcom_err-debuginfo","purl":"pkg:rpm/redhat/libcom_err-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss-debuginfo","purl":"pkg:rpm/redhat/libss-debuginfo","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.45.6-5.el8"],"introduced":["0"],"last_affected":[],"package":"libss-devel","purl":"pkg:rpm/redhat/libss-devel","source":"RHSA-2022:7720"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-debuginfo","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debugsource","purl":"pkg:rpm/redhat/e2fsprogs-debugsource","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-devel","purl":"pkg:rpm/redhat/e2fsprogs-devel","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-libs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-libs-debuginfo","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libcom_err-debuginfo","purl":"pkg:rpm/redhat/libcom_err-debuginfo","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libcom_err-devel","purl":"pkg:rpm/redhat/libcom_err-devel","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"libss-debuginfo","purl":"pkg:rpm/redhat/libss-debuginfo","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs","purl":"pkg:rpm/redhat/e2fsprogs","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debuginfo","purl":"pkg:rpm/redhat/e2fsprogs-debuginfo","source":"RHSA-2022:8361"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.46.5-3.el9"],"introduced":["0"],"last_affected":[],"package":"e2fsprogs-debugsource","purl":"pkg:rpm/redhat/e2fsprogs-debugsource","source":"RHSA-2022:8361"}],"prev":{"headline":"Slide Anything \u003c 2.3.44 - Editor+ Stored Cross-Site Scripting","id":"CVE-2022-1303"},"products":["e2fsprogs"],"published":"2022-04-14","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can trigger arbitrary code execution or crashes in e2fsprogs by mounting a specially crafted filesystem.","url":"https://insights.sbomify.com/CVE-2022-1304/"}