{"answers":{"affected":"It affects 6 products.","exploited":"There is no known exploitation of CVE-2022-2526 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-2526 is a critical use after free vulnerability in Netapp Active Iq Unified Manager, published on 9 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2526 and fix it if it is affected.\n\nWhat it is: CVE-2022-2526 is a critical use after free vulnerability in Netapp Active Iq Unified Manager, published on 9 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-2526 in the wild and no public exploit code.\n\nAffected product: Netapp Active Iq Unified Manager. 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-2526/ (Markdown: https://insights.sbomify.com/CVE-2022-2526/index.md)","id":"CVE-2022-2526","markdown":"https://insights.sbomify.com/CVE-2022-2526/index.md","name":"CVE-2022-2526","record":{"aliases":["ALSA-2022:6206","CLSA-2022-1663183381","CLSA-2022-1663184219","DEBIAN-CVE-2022-2526","GHSA-f4r4-2gxf-88xj","RHSA-2022:6160","RHSA-2022:6161","RHSA-2022:6162","RHSA-2022:6163","RHSA-2022:6206","RLSA-2022:6206","UBUNTU-CVE-2022-2526","USN-5583-1","USN-5583-2"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"systemd-resolved","requires_auth":"none","summary":"A use-after-free in systemd-resolved allows attackers to potentially execute code or cause denial of service via DNS stream handling.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"systemd","vendor":"systemd_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_eus:8.4::baseos","Rocky Linux:8"],"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":"Use after free in systemd-resolved","id":"CVE-2022-2526","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager","netapp:h300s_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h700s_firmware","systemd_project:systemd"],"type":"use_after_free","year":"2022"},"n_packages":112,"n_references":2,"next":{"headline":"Cross-site scripting in GitLab","id":"CVE-2022-2527"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/almalinux/systemd","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-container","purl":"pkg:rpm/almalinux/systemd-container","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/almalinux/systemd-devel","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-remote","purl":"pkg:rpm/almalinux/systemd-journal-remote","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/almalinux/systemd-libs","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-pam","purl":"pkg:rpm/almalinux/systemd-pam","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-tests","purl":"pkg:rpm/almalinux/systemd-tests","source":"ALSA-2022:6206"},{"ecosystem":"AlmaLinux:8","fixed":["239-58.el8_6.4"],"introduced":["0"],"last_affected":[],"package":"systemd-udev","purl":"pkg:rpm/almalinux/systemd-udev","source":"ALSA-2022:6206"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1","purl":"pkg:rpm/redhat/libgudev1","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1-devel","purl":"pkg:rpm/redhat/libgudev1-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/redhat/systemd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/redhat/systemd-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-gateway","purl":"pkg:rpm/redhat/systemd-journal-gateway","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/redhat/systemd-libs","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-networkd","purl":"pkg:rpm/redhat/systemd-networkd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-python","purl":"pkg:rpm/redhat/systemd-python","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-resolved","purl":"pkg:rpm/redhat/systemd-resolved","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-sysv","purl":"pkg:rpm/redhat/systemd-sysv","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1-devel","purl":"pkg:rpm/redhat/libgudev1-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/redhat/systemd-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-gateway","purl":"pkg:rpm/redhat/systemd-journal-gateway","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-networkd","purl":"pkg:rpm/redhat/systemd-networkd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-resolved","purl":"pkg:rpm/redhat/systemd-resolved","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1","purl":"pkg:rpm/redhat/libgudev1","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1-devel","purl":"pkg:rpm/redhat/libgudev1-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/redhat/systemd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-devel","purl":"pkg:rpm/redhat/systemd-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-journal-gateway","purl":"pkg:rpm/redhat/systemd-journal-gateway","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-libs","purl":"pkg:rpm/redhat/systemd-libs","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-networkd","purl":"pkg:rpm/redhat/systemd-networkd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-python","purl":"pkg:rpm/redhat/systemd-python","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-resolved","purl":"pkg:rpm/redhat/systemd-resolved","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-sysv","purl":"pkg:rpm/redhat/systemd-sysv","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1","purl":"pkg:rpm/redhat/libgudev1","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"libgudev1-devel","purl":"pkg:rpm/redhat/libgudev1-devel","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd","purl":"pkg:rpm/redhat/systemd","source":"RHSA-2022:6160"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:219-78.el7_9.7"],"introduced":["0"],"last_affected":[],"package":"systemd-debuginfo","purl":"pkg:rpm/redhat/systemd-debuginfo","source":"RHSA-2022:6160"}],"prev":{"headline":"Improper Restriction of Excessive Authentication Attempts in janeczku/calibre-web","id":"CVE-2022-2525"},"products":["systemd-resolved"],"published":"2022-09-09","related":[{"cvss_score":9.8,"headline":"Spring Security authorization rules can be bypassed via forward or include dispatcher types","id":"CVE-2022-31692","kev_date_added":null,"published":"2022-10-31"},{"cvss_score":9.8,"headline":"Authorization bypass in Spring Security","id":"CVE-2022-22978","kev_date_added":null,"published":"2022-05-19"},{"cvss_score":9.8,"headline":"Code injection in Node","id":"CVE-2021-22931","kev_date_added":null,"published":"2021-08-16"},{"cvss_score":9,"headline":"Code injection in Java","id":"CVE-2018-2938","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2941","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2942","kev_date_added":null,"published":"2018-07-18"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A use-after-free in systemd-resolved allows attackers to potentially execute code or cause denial of service via DNS stream handling.","url":"https://insights.sbomify.com/CVE-2022-2526/"}