An use-after-free was found in xmllint when used with --html and --push options when processing crafted files. Reference: https://gitlab.gnome.org/GNOME/libxml2/-/issues/230 Upstream patch: https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539
Created libxml2 tracking bugs for this issue: Affects: fedora-all [bug 1954227] Created mingw-libxml2 tracking bugs for this issue: Affects: fedora-all [bug 1954226]
Acknowledgments: Name: zodf0055980 (SQLab NCTU Taiwan)
Statement: The only known exploitation path of this flaw is via the xmllint tool. This flaw is out of support scope for Red Hat Enterprise Linux 6 and 7. To learn more about Red Hat Enterprise Linux support life cycles, please see https://access.redhat.com/support/policy/updates/errata .
This flaw was caused by xmlCtxtUseOptions() being called on a htmlParserCtxtPtr, rather than htmlCtxtUseOptions().
Mitigation: This flaw can be mitigated by not using xmllint with the --html and --push options together.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:2569 https://access.redhat.com/errata/RHSA-2021:2569
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-3516
This issue has been addressed in the following products: Red Hat JBoss Core Services Via RHSA-2022:1390 https://access.redhat.com/errata/RHSA-2022:1390
This issue has been addressed in the following products: JBoss Core Services on RHEL 7 JBoss Core Services for RHEL 8 Via RHSA-2022:1389 https://access.redhat.com/errata/RHSA-2022:1389