Advisory

RLSA-2021:2569

Also known as: CVE-2021-3516, CVE-2021-3517, CVE-2021-3518, CVE-2021-3537, CVE-2021-3541

Summary

Moderate: libxml2 security update

Details

The libxml2 library is a development toolbox providing the implementation of various XML standards.

Security Fix(es):

  • libxml2: Use-after-free in xmlEncodeEntitiesInternal() in entities.c (CVE-2021-3516)
  • libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c (CVE-2021-3517)
  • libxml2: Use-after-free in xmlXIncludeDoProcess() in xinclude.c (CVE-2021-3518)
  • libxml2: NULL pointer dereference when post-validating mixed content parsed in recovery mode (CVE-2021-3537)
  • libxml2: Exponential entity expansion attack bypasses all existing protection mechanisms (CVE-2021-3541)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Dates

Published
2021-06-29 13:42 UTC
Modified
2026-02-04 22:15 UTC

Affected packages and fixes

libxml2

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:2.9.7-9.el8_4.2 (ecosystem)

Fixed versions

0:2.9.7-9.el8_4.2

Fix

  • Fixed version 0:2.9.7-9.el8_4.2
    sudo dnf upgrade libxml2-0:2.9.7-9.el8_4.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences