Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2021:0062-1

Опубликовано: 11 янв. 2021
Источник: suse-cvrf

Описание

Security update for nodejs12

This update for nodejs12 fixes the following issues:

  • New upstream LTS version 12.20.1:

    • CVE-2020-8265: use-after-free in TLSWrap (High) bug in TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits (bsc#1180553)
    • CVE-2020-8287: HTTP Request Smuggling allow two copies of a header field in a http request. For example, two Transfer-Encoding header fields. In this case Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling (https://cwe.mitre.org/data/definitions/444.html). (bsc#1180554)
    • CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High) This is a vulnerability in OpenSSL which may be exploited through Node.js. (bsc#1179491)
  • New upstream LTS version 12.20.0:

    • deps:
      • update llhttp '2.1.2' -> '2.1.3'
      • update uv '1.39.0' -> '1.40.0'
      • update uvwasi '0.0.10' -> '0.0.11'
    • fs: add .ref() and .unref() methods to watcher classes
    • http: added scheduling option to http agent
    • module:
      • exports pattern support
      • named exports for CJS via static analysis
    • n-api: add more property defaults (gh#35214)
  • New upstream LTS version 12.19.1:

    • deps: Denial of Service through DNS request (High). A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service by getting the application to resolve a DNS record with a larger number of responses (bsc#1178882, CVE-2020-8277)
  • New upstream LTS version 12.19.0:

    • crypto: add randomInt function
    • deps:
      • upgrade to libuv 1.39.0
      • deps: upgrade npm to 6.14.7
      • deps: upgrade to libuv 1.38.1
    • doc: deprecate process.umask() with no arguments
    • module:
      • package 'imports' field
      • module: deprecate module.parent
    • n-api: create N-API version 7
    • zlib: switch to lazy init for zlib streams

Список пакетов

Container bci/node:12
nodejs12-12.20.1-4.10.1
npm12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2
nodejs12-12.20.1-4.10.1
nodejs12-devel-12.20.1-4.10.1
nodejs12-docs-12.20.1-4.10.1
npm12-12.20.1-4.10.1

Описание

The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This function behaves incorrectly when both GENERAL_NAMEs contain an EDIPARTYNAME. A NULL pointer dereference and a crash may occur leading to a possible denial of service attack. OpenSSL itself uses the GENERAL_NAME_cmp function for two purposes: 1) Comparing CRL distribution point names between an available CRL and a CRL distribution point embedded in an X509 certificate 2) When verifying that a timestamp response token signer matches the timestamp authority name (exposed via the API functions TS_RESP_verify_response and TS_RESP_verify_token) If an attacker can control both items being compared then that attacker could trigger a crash. For example if the attacker can trick a client or server into checking a malicious certificate against a malicious CRL then this may occur. Note that some applications automatically download CRLs based on a URL embedded in a certificate. This checking happens prior to the signatures on the certificate and CRL being verified. OpenSSL's s_server, s_client and verify tools have support for the "-crl_download" option which implements automatic CRL downloading and this attack has been demonstrated to work against those tools. Note that an unrelated bug means that affected versions of OpenSSL cannot parse or construct correct encodings of EDIPARTYNAME. However it is possible to construct a malformed EDIPARTYNAME that OpenSSL's parser will accept and hence trigger this attack. All OpenSSL 1.1.1 and 1.0.2 versions are affected by this issue. Other OpenSSL releases are out of support and have not been checked. Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h). Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w).


Затронутые продукты
Container bci/node:12:nodejs12-12.20.1-4.10.1
Container bci/node:12:npm12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-devel-12.20.1-4.10.1

Ссылки

Описание

Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.


Затронутые продукты
Container bci/node:12:nodejs12-12.20.1-4.10.1
Container bci/node:12:npm12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-devel-12.20.1-4.10.1

Ссылки

Описание

A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service in versions < 15.2.1, < 14.15.1, and < 12.19.1 by getting the application to resolve a DNS record with a larger number of responses. This is fixed in 15.2.1, 14.15.1, and 12.19.1.


Затронутые продукты
Container bci/node:12:nodejs12-12.20.1-4.10.1
Container bci/node:12:npm12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-devel-12.20.1-4.10.1

Ссылки

Описание

Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.


Затронутые продукты
Container bci/node:12:nodejs12-12.20.1-4.10.1
Container bci/node:12:npm12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-12.20.1-4.10.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP2:nodejs12-devel-12.20.1-4.10.1

Ссылки
Уязвимость SUSE-SU-2021:0062-1