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

exploitDog

suse-cvrf логотип

SUSE-SU-2023:2663-1

Опубликовано: 27 июн. 2023
Источник: suse-cvrf

Описание

Security update for nodejs16

This update for nodejs16 fixes the following issues:

Update to version 16.20.1:

  • CVE-2023-30581: Fixed mainModule.proto Bypass Experimental Policy Mechanism (bsc#1212574).
  • CVE-2023-30585: Fixed privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (bsc#1212579).
  • CVE-2023-30588: Fixed process interuption due to invalid Public Key information in x509 certificates (bsc#1212581).
  • CVE-2023-30589: Fixed HTTP Request Smuggling via empty headers separated by CR (bsc#1212582).
  • CVE-2023-30590: Fixed DiffieHellman key generation after setting a private key (bsc#1212583).
  • CVE-2023-31124: Fixed cross compilation issue with AutoTools that does not set CARES_RANDOM_FILE (bsc#1211607).
  • CVE-2023-31130: Fixed buffer underwrite problem in ares_inet_net_pton() (bsc#1211606).
  • CVE-2023-31147: Fixed insufficient randomness in generation of DNS query IDs (bsc#1211605).
  • CVE-2023-32067: Fixed denial-of-service via 0-byte UDP payload (bsc#1211604).

Bug fixes:

  • Increased the default timeout on unit tests from 2 to 20 minutes. This seems to have lead to build failures on some platforms, like s390x in Factory. (bsc#1211407)

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

Container bci/node:16
nodejs16-16.20.1-150400.3.21.1
npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4
nodejs16-16.20.1-150400.3.21.1
nodejs16-devel-16.20.1-150400.3.21.1
nodejs16-docs-16.20.1-150400.3.21.1
npm16-16.20.1-150400.3.21.1
openSUSE Leap 15.4
corepack16-16.20.1-150400.3.21.1
nodejs16-16.20.1-150400.3.21.1
nodejs16-devel-16.20.1-150400.3.21.1
nodejs16-docs-16.20.1-150400.3.21.1
npm16-16.20.1-150400.3.21.1

Описание

The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi installer. This vulnerability emerges during the repair operation, where the "msiexec.exe" process, running under the NT AUTHORITY\SYSTEM context, attempts to read the %USERPROFILE% environment variable from the current user's registry. The issue arises when the path referenced by the %USERPROFILE% environment variable does not exist. In such cases, the "msiexec.exe" process attempts to create the specified path in an unsafe manner, potentially leading to the creation of arbitrary folders in arbitrary locations. The severity of this vulnerability is heightened by the fact that the %USERPROFILE% environment variable in the Windows registry can be modified by standard (or "non-privileged") users. Consequently, unprivileged actors, including malicious entities or trojans, can manipulate the environment variable key to deceive the privileged "msiexec.exe" process. This manipulation can result in the creation of folders in unintended and potentially malicious locations. It is important to note that this vulnerability is specific to Windows users who install Node.js using the .msi installer. Users who opt for other installation methods are not affected by this particular issue.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when accessing public key info of provided certificates from user code. The current context of the users will be gone, and that will cause a DoS scenario. This vulnerability affects all active Node.js versions v16, v18, and, v20.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS). The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values". The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG. This issue was patched in version 1.19.1.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

Ссылки

Описание

c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously interprets the 0 length as a graceful shutdown of the connection. This issue has been patched in version 1.19.1.


Затронутые продукты
Container bci/node:16:nodejs16-16.20.1-150400.3.21.1
Container bci/node:16:npm16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-16.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4:nodejs16-devel-16.20.1-150400.3.21.1

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