{"id":"CVE-2021-3518","aliases":["CVE-2021-3518","GHSA-v4f8-2847-rwm7"],"related":[],"kind":"vulnerability","state":"published","title":"Nokogiri Implements libxml2 version vulnerable to use-after-free","summary":"There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.","source":"cvelist"},{"lang":"es","text":"Se presenta un fallo en libxml2 en versiones anteriores a 2.9.11.&#xa0;Un atacante que pueda enviar un archivo diseñado para que sea procesado por una aplicación vinculada con libxml2 podría desencadenar un uso de la memoria previamente liberada.&#xa0;El mayor impacto de este fallo es a la confidencialidad, integridad y disponibilidad","source":"nvd"}],"published":"2021-05-18T11:20:24.000Z","modified":"2026-10-14T10:17:44.110Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"libxml2 2.9.11","status":"affected"}],"product":"libxml2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.11.4"}],"ecosystem":"RubyGems","package":"nokogiri","purl":"pkg:gem/nokogiri","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.9.11"}],"vendor":"xmlsoft","product":"libxml2","cpe":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"jboss_core_services","cpe":"cpe:2.3:a:redhat:jboss_core_services:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"clustered_data_ontap","cpe":"cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"clustered_data_ontap_antivirus_connector","cpe":"cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"manageability_software_development_kit","cpe":"cpe:2.3:a:netapp:manageability_software_development_kit:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"ontap_select_deploy_administration_utility","cpe":"cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapdrive","cpe":"cpe:2.3:a:netapp:snapdrive:-:*:*:*:*:windows:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"hci_h410c_firmware","cpe":"cpe:2.3:o:netapp:hci_h410c_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.10.0"}],"vendor":"oracle","product":"communications_cloud_native_core_network_function_cloud_native_environment","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"13.4.0.0"},{"status":"affected","version":"13.5.0.0"}],"vendor":"oracle","product":"enterprise_manager_base_platform","cpe":"cpe:2.3:a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.4.0.0"}],"vendor":"oracle","product":"enterprise_manager_ops_center","cpe":"cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"8.0.26"}],"vendor":"oracle","product":"mysql_workbench","cpe":"cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.58"}],"vendor":"oracle","product":"peoplesoft_enterprise_peopletools","cpe":"cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"13.4.1.0"},{"status":"affected","version":"13.5.1.0"}],"vendor":"oracle","product":"real_user_experience_insight","cpe":"cpe:2.3:a:oracle:real_user_experience_insight:13.4.1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1954242","tags":["issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202107-05","tags":["third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210625-0002/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2021/Jul/58","tags":["mailing-list","third-party-advisory","web","x-refsource-fulldisc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://seclists.org/fulldisclosure/2021/Jul/54","tags":["mailing-list","third-party-advisory","web","x-refsource-fulldisc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://seclists.org/fulldisclosure/2021/Jul/55","tags":["mailing-list","third-party-advisory","web","x-refsource-fulldisc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://seclists.org/fulldisclosure/2021/Jul/59","tags":["mailing-list","third-party-advisory","web","x-refsource-fulldisc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.apple.com/kb/HT212605","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.apple.com/kb/HT212602","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.apple.com/kb/HT212601","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://support.apple.com/kb/HT212604","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["not-applicable","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3518","tags":["advisory"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210625-0002","tags":["web"],"sources":["ghsa"]},{"url":"https://nokogiri.org/CHANGELOG.html#1114-2021-05-14","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sparklemotion/nokogiri/blob/2edbbef95f1dc12c1ddc5ebda71b9159026245fe/CHANGELOG.md?plain=1#L722","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sparklemotion/nokogiri","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2021-3518.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3518","url":"https://www.cve.org/CVERecord?id=CVE-2021-3518","licence":"CVE Terms of Use","modified":"2026-10-14T09:49:41.511Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v4f8-2847-rwm7","url":"https://github.com/advisories/GHSA-v4f8-2847-rwm7","licence":"CC-BY-4.0","modified":"2024-03-09T05:19:27.542Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3518","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3518","licence":"Public domain","modified":"2026-10-14T10:17:44.110Z"}],"updatedAt":"2026-11-25T22:58:01.451Z","epss":{"score":0.1887,"percentile":0.97356,"date":"2026-12-01T12:00:22.000Z"}}