{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3514 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3514 is a medium-severity vulnerability in 389-ds-base, published on 28 May 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3514 and fix it if it is affected.\n\nWhat it is: CVE-2021-3514 is a medium-severity vulnerability in 389-ds-base, published on 28 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3514 in the wild and no public exploit code.\n\nAffected product: 389-ds-base. 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-3514/ (Markdown: https://insights.sbomify.com/CVE-2021-3514/index.md)","id":"CVE-2021-3514","markdown":"https://insights.sbomify.com/CVE-2021-3514/index.md","name":"CVE-2021-3514","record":{"aliases":["DEBIAN-CVE-2021-3514","GHSA-4mjm-c95j-8748","RHSA-2021:2595","RHSA-2021:2796","RLSA-2021:2595","SUSE-SU-2021:1878-1","UBUNTU-CVE-2021-3514","openSUSE-SU-2021:0868-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"LDAP directory server","requires_auth":"low_privilege","summary":"An authenticated attacker can crash the 389-ds-base server via a NULL pointer dereference in the sync_repl client.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"389_directory_server","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"When using a sync_repl client in 389-ds-base, an authenticated attacker can cause a NULL pointer dereference using a specially crafted query, causing a crash.","ecosystems":["Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_eus:8.2::appstream","Rocky Linux:8","SUSE:Linux Enterprise Module for Server Applications 15 SP2","openSUSE:Leap 15.2"],"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":"Null dereference in 389-ds-base","id":"CVE-2021-3514","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2021"},"n_packages":25,"n_references":2,"next":{"headline":"Command injection in pglogical","id":"CVE-2021-3515"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools-debuginfo","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.3.16-16.module+el8.4.0+11446+fc96bc48"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2021:2595"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-legacy-tools-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-legacy-tools-debuginfo","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2021:2796"},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","fixed":["0:1.4.2.4-14.module+el8.2.0+11017+0eb5711a"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2021:2796"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.4.3.16-16.module+el8.4.0+596+159889e5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/rocky-linux/389-ds-base?distro=rocky-linux-8-4-legacy\u0026epoch=0","source":"RLSA-2021:2595"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP2","fixed":["1.4.3.23~git0.f53d0132b-3.15.1"],"introduced":["0"],"last_affected":[],"package":"389-ds","purl":"pkg:rpm/suse/389-ds\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2","source":"SUSE-SU-2021:1878-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.4.3.23~git0.f53d0132b-lp152.2.15.1"],"introduced":["0"],"last_affected":[],"package":"389-ds","purl":"pkg:rpm/opensuse/389-ds\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0868-1"}],"prev":{"headline":"Incorrect implementation of lockout feature in Keycloak","id":"CVE-2021-3513"},"products":["389-ds-base"],"published":"2021-05-28","related":[{"cvss_score":7.5,"headline":"389-ds-base: 389-ds-base: pre-auth ldap filter injection in cleanallruv status check","id":"CVE-2026-11770","kev_date_added":null,"published":"2026-07-31"},{"cvss_score":7.5,"headline":"Memory corruption in Red Hat Directory Server 11.5 E4S for RHEL 8","id":"CVE-2026-15722","kev_date_added":null,"published":"2026-07-31"},{"cvss_score":7.5,"headline":"Denial of service in Red Hat Directory Server 11.5 E4S for RHEL 8","id":"CVE-2026-9064","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":7.5,"headline":"Null dereference in Red Hat Directory Server","id":"CVE-2010-2222","kev_date_added":null,"published":"2019-11-05"},{"cvss_score":6.5,"headline":"389-ds-base: 389-ds-base: content sync plugin unbounded queue growth and race conditions","id":"CVE-2026-11611","kev_date_added":null,"published":"2026-06-08"},{"cvss_score":6.5,"headline":"389-ds-base: unauthenticated user can trigger a dos by sending a specific extended search request","id":"CVE-2024-6237","kev_date_added":null,"published":"2024-07-09"}],"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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"An authenticated attacker can crash the 389-ds-base server via a NULL pointer dereference in the sync_repl client.","url":"https://insights.sbomify.com/CVE-2021-3514/"}