CWE
79
Advisory Published

RHSA-2021:4158: Moderate: python-lxml security update

First published: Tue Nov 09 2021(Updated: )

lxml is an XML processing library providing access to libxml2 and libxslt libraries using the Python ElementTree API. <br>Security Fix(es):<br><li> python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)</li> 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.<br>Additional Changes:<br>For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

Affected SoftwareAffected VersionHow to fix
redhat/python-lxml<4.2.3-3.el8
4.2.3-3.el8
redhat/python-lxml-debugsource<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml-debuginfo<4.2.3-3.el8
4.2.3-3.el8
redhat/python-lxml-debugsource<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml-debuginfo<4.2.3-3.el8
4.2.3-3.el8
redhat/python-lxml-debugsource<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml<4.2.3-3.el8
4.2.3-3.el8
redhat/python3-lxml-debuginfo<4.2.3-3.el8
4.2.3-3.el8
redhat/python-lxml-debugsource<4.2.3-3.el8.aa
4.2.3-3.el8.aa
redhat/python3-lxml<4.2.3-3.el8.aa
4.2.3-3.el8.aa
redhat/python3-lxml-debuginfo<4.2.3-3.el8.aa
4.2.3-3.el8.aa

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of RHSA-2021:4158?

    The severity of RHSA-2021:4158 is classified as moderate.

  • How do I fix RHSA-2021:4158?

    To fix RHSA-2021:4158, update the python-lxml package to version 4.2.3-3.el8 or later.

  • What type of vulnerability is addressed in RHSA-2021:4158?

    RHSA-2021:4158 addresses a missing input sanitization vulnerability that could lead to XSS attacks.

  • Which software versions are affected by RHSA-2021:4158?

    The affected software versions include python-lxml prior to 4.2.3-3.el8, including its debug and debug source packages.

  • What package is recommended to mitigate the issue in RHSA-2021:4158?

    The recommended package to mitigate the issue in RHSA-2021:4158 is python-lxml version 4.2.3-3.el8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203