{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2021-4091 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-4091 is a high-severity use after free vulnerability in Redhat Enterprise Linux Desktop, published on 18 Feb 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-2021-4091 and fix it if it is affected.\n\nWhat it is: CVE-2021-4091 is a high-severity use after free vulnerability in Redhat Enterprise Linux Desktop, published on 18 Feb 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-2021-4091 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux Desktop. 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-2021-4091/ (Markdown: https://insights.sbomify.com/CVE-2021-4091/index.md)","id":"CVE-2021-4091","markdown":"https://insights.sbomify.com/CVE-2021-4091/index.md","name":"CVE-2021-4091","record":{"aliases":["ALSA-2022:0889","DEBIAN-CVE-2021-4091","GHSA-qwhp-2gp7-qhfq","MGASA-2022-0106","RHSA-2022:0628","RHSA-2022:0889","RHSA-2022:1410","RLSA-2022:0889","UBUNTU-CVE-2021-4091"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"LDAP directory server","requires_auth":"none","summary":"An attacker can crash the 389-ds-base LDAP server by sending specific search requests that trigger a double-free error in virtual attribute handling.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"389-ds-base","vendor":"port389"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_scientific_computing","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"A double-free was found in the way 389-ds-base handles virtual attributes context in persistent searches. An attacker could send a series of search requests, forcing the server to behave unexpectedly, and crash.","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::appstream","Red Hat:rhel_eus:8.4::appstream","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 389-ds-base","id":"CVE-2021-4091","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux_desktop","products":["redhat:enterprise_linux_desktop","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_scientific_computing","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"use_after_free","year":"2021"},"n_packages":49,"n_references":2,"next":{"headline":"Cross-Site Request Forgery (CSRF) in yetiforcecompany/yetiforcecrm","id":"CVE-2021-4092"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/almalinux/389-ds-base","source":"ALSA-2022:0889"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/almalinux/389-ds-base-devel","source":"ALSA-2022:0889"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools","purl":"pkg:rpm/almalinux/389-ds-base-legacy-tools","source":"ALSA-2022:0889"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/almalinux/389-ds-base-libs","source":"ALSA-2022:0889"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/almalinux/389-ds-base-snmp","source":"ALSA-2022:0889"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.3.23-14.module_el8.5.0+2628+c731dc97"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/almalinux/python3-lib389","source":"ALSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.10.2-15.el7_9"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2022:0628"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools-debuginfo","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.23-14.module+el8.5.0+14377+c731dc97"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2022:0889"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.4.3.16-20.module+el8.4.0+14552+b182c759"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2022:1410"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.4.3.16-20.module+el8.4.0+14552+b182c759"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2022:1410"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:1.4.3.16-20.module+el8.4.0+14552+b182c759"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2022:1410"}],"prev":{"headline":"Memory corruption in kernel","id":"CVE-2021-4090"},"products":["389-ds-base"],"published":"2022-02-18","related":[{"cvss_score":7.5,"headline":"Denial of service in 389-ds-base","id":"CVE-2022-0918","kev_date_added":null,"published":"2022-03-16"},{"cvss_score":6.5,"headline":"Auth bypass in 389-ds-base","id":"CVE-2021-3652","kev_date_added":null,"published":"2022-04-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":"2025-11-03","vendors":["n/a"]},"summary":"An attacker can crash the 389-ds-base LDAP server by sending specific search requests that trigger a double-free error in virtual attribute handling.","url":"https://insights.sbomify.com/CVE-2021-4091/"}