-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.2539
                    node.js - multiple vulnerabilities
                              28 August 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Node.js
Publisher:         FreeBSD
Operating System:  FreeBSD
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Privileged Data          -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-12115 CVE-2018-7166 CVE-2018-0732

Reference:         ESB-2018.2495
                   ESB-2018.2458
                   ESB-2018.1870

Original Bulletin: 
   https://www.vuxml.org/freebsd/0904e81f-a89d-11e8-afbb-bc5ff4f77b71.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running check for an updated version of the software for their 
         operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

node.js -- multiple vulnerabilities

Affected packages
  node  < 10.9.0
  node8 < 8.11.4
  node6 < 6.14.4

Details

VuXML ID  0904e81f-a89d-11e8-afbb-bc5ff4f77b71
Discovery 2018-08-16
Entry     2018-08-25

Node.js reports:

    OpenSSL: Client DoS due to large DH parameter

    This fixes a potential denial of service (DoS) attack against client
    connections by a malicious server. During a TLS communication handshake,
    where both client and server agree to use a cipher-suite using DH or DHE
    (Diffie-Hellman, in both ephemeral and non-ephemeral modes), a malicious
    server can send a very large prime value to the client. Because this has
    been unbounded in OpenSSL, the client can be forced to spend an
    unreasonably long period of time to generate a key, potentially causing a
    denial of service.

    OpenSSL: ECDSA key extraction via local side-channel

    Attackers with access to observe cache-timing may be able to extract DSA or
    ECDSA private keys by causing the victim to create several signatures and
    watching responses. This flaw does not have a CVE due to OpenSSL policy to
    not assign itself CVEs for local-only vulnerabilities that are more
    academic than practical. This vulnerability was discovered by Keegan Ryan
    at NCC Group and impacts many cryptographic libraries including OpenSSL.

    Unintentional exposure of uninitialized memory

    Only Node.js 10 is impacted by this flaw.

    Node.js TSC member Nikita Skovoroda discovered an argument processing flaw
    that causes Buffer.alloc() to return uninitialized memory. This method is
    intended to be safe and only return initialized, or cleared, memory. The
    third argument specifying encoding can be passed as a number, this is
    misinterpreted by Buffer's internal "fill" method as the start to a fill
    operation. This flaw may be abused where Buffer.alloc() arguments are
    derived from user input to return uncleared memory blocks that may contain
    sensitive information.

    Out of bounds (OOB) write

    Node.js TSC member Nikita Skovoroda discovered an OOB write in Buffer that
    can be used to write to memory outside of a Buffer's memory space. This can
    corrupt unrelated Buffer objects or cause the Node.js process to crash.

    When used with UCS-2 encoding (recognized by Node.js under the names
    'ucs2', 'ucs-2', 'utf16le' and 'utf-16le'), Buffer#write() can be abused to
    write outside of the bounds of a single Buffer. Writes that start from the
    second-to-last position of a buffer cause a miscalculation of the maximum
    length of the input bytes to be written.

References

CVE Name CVE-2018-0732
CVE Name CVE-2018-12115
CVE Name CVE-2018-7166
URL      https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBW4TaS2aOgq3Tt24GAQjEPw//WYTBTY2m+oYmgQZhtbMJ+vGePtgQzir6
NGe4ktMuLDWS26j6ktSEguvjCEROf5H9NusDuRPA4kOk7qeEo1L8XlVYAkr0B/Og
slu2AwdCA7dlKYIyPQ0D7XYHXJdI+lcIIlWplw9nltFEYCQrB1mtUUMq5brY81N/
1J4sxbd/YuuFYd4xCbL/O6iBs1ewwn2ooXhQ2dy7vlwz0qV6EGla/QGpp6aTU832
ZtHxr94udQsyojqNZbLMSs4mWtRZvmcB+8U3Cg4/e5Zi4LC02rvz0PBT0Jsi3dhm
UQ3vISJgthOEOWKoxIKJlkKyHgtZghzbAy31Fqdzd9rbrNw9y6kRIFRewVSmEtrI
mylbZuCPl+p5A2/MyFpT1XHLXQceJ8Fx947XEUS3xxvWuw2xz2T8raoFZgwUBVRe
IKXPY7NEzMe1Hi/CkwVC6m/q/guT/1qpkpA/03V+K7DY/+UDQzWCuoWUoWwpvk73
UENF8UPYDP7kzDd+b348TFiTnUAdGSVgJH0/TwFYCIjPIvwRxDuN1Uk0PupgnqRS
JBfQg9/tQ9jB5+j09oOQji071kTXVlYUtEChOvD2Jeiz9WmZjY4RcKCqqoRv2jGy
th+TvUD2OcyBEmfSsdTJLiqEqBOWcXBwZWNWhRNE6KwP2xFNrIw2LxoARkCSQxFB
jkF3/yWTMec=
=TP4C
-----END PGP SIGNATURE-----