• [ GLSA 202105-38 ] nginx: Remote code execution

    From Thomas Deutschmann@21:1/5 to All on Wed May 26 19:50:01 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Na7PVLT6RfpEAM1GVHryO6z90HB5G0ahz
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 202105-38
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    https://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Severity: High
    Title: nginx: Remote code execution
    Date: May 26, 2021
    Bugs: #792087
    ID: 202105-38

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

    Synopsis
    ========

    A vulnerability in nginx could lead to remote code execution.

    Background
    ==========

    nginx is a robust, small, and high performance HTTP and reverse proxy
    server.

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

    -------------------------------------------------------------------
    Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
    1 www-servers/nginx < 1.21.0 >= 1.20.1:0
    >= 1.21.0:mainline

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

    It was discovered that nginx did not properly handle DNS responses when "resolver" directive is used.

    Impact
    ======

    A remote attacker, able to provide DNS responses to a nginx instance,
    could cause the execution of arbitrary code with the privileges of the
    process or a Denial of Service condition.

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All nginx users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-servers/nginx-1.20.1"

    All nginx mainline users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot -v ">=www-servers/nginx-1.21.0:mainline"

    References
    ==========

    [ 1 ] CVE-2021-23017
    https://nvd.nist.gov/vuln/detail/CVE-2021-23017

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

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

    https://security.gentoo.org/glsa/202105-38

    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 2021 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


    --Na7PVLT6RfpEAM1GVHryO6z90HB5G0ahz--

    -----BEGIN PGP SIGNATURE-----

    wsB5BAABCAAjFiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAmCuiEwFAwAAAAAACgkQRObr3Jv2BVnN bAgAt//YCJZLJtlbpRXfYpKLS5FBEoXVjNJY7PeZhASmWNK9neVuEv3XdJfBMIZKZY0AETyV9Xq2 yvJcS3nHY0+hzJHsN+sP50PuY5hdgqwg5BjgTQGR+r1E4a/AIll8lvZw2o8ju41kU9H5mb+YCcnx r4TkKivjYqLgG404CzTq40NQkEOc6S4iVjWIM8HMsEJyDTbGnD/pgN3P397F0Bm53gHD1kKfk7GD ITX1sER42NVVO5mVGVT10gi7z+sQrxX+++zz76goEhsTiyx14lFzCj4r1AaX9maE3YPYngksLQEZ q5XL7Y+Mj14ZOaLgevYxXEoUGpJJ0T85xXRblKQJUA==
    =ERP1
    -----END PGP SIGNATURE-----

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