• [gentoo-announce] [ GLSA 202408-13 ] Nokogiri: Denial of Service

    From glsamaker@gentoo.org@21:1/5 to All on Wed Aug 7 15:20:01 2024
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 202408-13
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    https://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Severity: Normal
    Title: Nokogiri: Denial of Service
    Date: August 07, 2024
    Bugs: #884863
    ID: 202408-13

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Synopsis
    ========

    A vulnerability has been discovered in Nokogiri, which can lead to a
    denial of service.

    Background
    ==========

    Nokogiri is an HTML, XML, SAX, and Reader parser.

    Affected packages
    =================

    Package Vulnerable Unaffected
    ----------------- ------------ ------------
    dev-ruby/nokogiri < 1.13.10 >= 1.13.10

    Description
    ===========

    A denial of service vulnerability has been discovered in Nokogiri.
    Please review the CVE identifier referenced below for details.

    Impact
    ======

    Nokogiri fails to check the return value from `xmlTextReaderExpand` in
    the method `Nokogiri::XML::Reader#attribute_hash`. This can lead to a
    null pointer exception when invalid markup is being parsed. For
    applications using `XML::Reader` to parse untrusted inputs, this may potentially be a vector for a denial of service attack.

    Workaround
    ==========

    Users may be able to search their code for calls to either `XML::Reader#attributes` or `XML::Reader#attribute_hash` to determine if
    they are affected.

    Resolution
    ==========

    All Nokogiri users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-ruby/nokogiri-1.13.10"

    References
    ==========

    [ 1 ] CVE-2022-23476
    https://nvd.nist.gov/vuln/detail/CVE-2022-23476

    Availability
    ============

    This GLSA and any updates to it are available for viewing at
    the Gentoo Security Website:

    https://security.gentoo.org/glsa/202408-13

    Concerns?
    =========

    Security is a primary focus of Gentoo Linux and ensuring the
    confidentiality and security of our users' machines is of utmost
    importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

    License
    =======

    Copyright 2024 Gentoo Foundation, Inc; referenced text
    belongs to its owner(s).

    The contents of this document are licensed under the
    Creative Commons - Attribution / Share Alike license.

    https://creativecommons.org/licenses/by-sa/2.5
    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmazcpEACgkQFMQkOaVy +9k1LQ//bw3G5fuHhA6eW3XBbZuwTKBDYnifsVylJaz6I6f1YDkXflvugHi0w9Dt +AXDGA9S/0BA9GJtcCyWNXQNL+yuMVizatWpMHIonk50Wbz5jdLy7fPVHBlE2UQx FViFnW3Q7yA+ckyH9ZGpyKaVU68wafM3pbJ/ECiOdt79L51W7WVxmbskxBwxuaz3 rYks3Zgdpqu8tVvs8KGMgPNSL4Chtt17n8cnGvNCzk8ubFxYjkXURY1biI9c9e0m C5YnyNbbfiqWv4jiTWOjkU40lhKmvLpUhM66gNLEljRKgs4pzlezlrYrGMSAsSW0 KG7kB1D5zQj7Ih8pDnq+PFMx8Tbom+hg21/Wv7g5fvJcWGmjfoXxatWgJqt2HQFB wDXLZg4PcxHMT+hKYuArfWze9urs7U4EHcBHAapLXJWcObhOQLfqx57G7yuIr3DK QIzv0vQFbvFYR1rxo6tAnXAt8cQcH2Jm+l/zCz7ebUQxUI4JE0eYYk24wvunl4Sn 3W50Aei+prvGihj92RN19o/EslyR2xA/7fQakG06WDelZJ+HtiaGdeva1WQ2mPmJ /95B3VlgBzZCFbNarjGbAzBMKhwToc3TvdtGjuchmReHLTGtcJAFiOIfDRyYr4Tf 0QssLc3lwNvKndmusUClbOj81tHifsAzDSqOsh7bXhxxIpXCRPg=
    =FJlc
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)