nodejs:16 security update
エラータID: AXSA:2023-6226:01
リリース日:
2023/07/13 Thursday - 05:14
題名:
nodejs:16 security update
影響のあるチャネル:
Asianux Server 8 for x86_64
Severity:
High
Description:
以下項目について対処しました。
[Security Fix]
- c-ares には、CARES_RANDOM_FILE ビルドオプションを設定して
いないことに起因して rand() 関数が使用されてしまう問題があるため、
リモートの攻撃者により、内部で利用されている乱数の予測を可能とする
脆弱性が存在します。(CVE-2023-31124)
- c-ares の ares_inet_net_pton() 関数には、バッファアンダーフロー
の問題があるため、ローカルの攻撃者により、"0::00:00:00/2" などの
特定の IPv6 アドレスの入力を介して、クラッシュの発生とこれに
起因するサービス拒否攻撃を可能とする脆弱性が存在します。
(CVE-2023-31130)
- c-ares には、/dev/urandom デバイスファイルもしくは RtlGenRandom()
関数が利用できない場合、rand() 関数を用いて生成した予測可能な乱数を
DNS クエリ ID の生成に使用してしまう問題があるため、リモートの
攻撃者により、DNS 応答の偽装を可能とする脆弱性が存在します。
(CVE-2023-31147)
- c-ares には、誤ってソケットをシャットダウンしてしまう問題が
あるため、リモートの攻撃者により、データ長が 0 バイトとなるように
細工された応答パケットを介して、サービス拒否攻撃を可能とする
脆弱性が存在します。(CVE-2023-32067)
Modularity name: nodejs
Stream name: 16
解決策:
パッケージをアップデートしてください。
CVE:
CVE-2023-31124
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.
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.
CVE-2023-31130
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.
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.
CVE-2023-31147
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.
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.
CVE-2023-32067
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.
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.
追加情報:
N/A
ダウンロード:
SRPMS
- nodejs-nodemon-2.0.20-3.module+el8+1649+d7aa543c.src.rpm
MD5: 2c14fc8a8eabbf285cc5d7126db8598f
SHA-256: e21c70434a6cbf0d2b6595b0d6e7256c71d1a8e81e3b9a4517653d457766ff33
Size: 395.30 kB - nodejs-packaging-25-1.module+el8+1649+d7aa543c.src.rpm
MD5: 5ed53544f3407e4c24e3ac69d83a3da9
SHA-256: ecd2626b312c133524c1f22b0d24d95b4423146c4e66f34256506bf56a8407bb
Size: 26.81 kB - nodejs-16.19.1-2.module+el8+1649+d7aa543c.src.rpm
MD5: 8d6834b4245c3e343df7c6c1abea16e9
SHA-256: bfd845ee3867c01114f6c0f456c71419aa6d00f4d079370829f11d65d87de578
Size: 70.94 MB
Asianux Server 8 for x86_64
- nodejs-16.19.1-2.module+el8+1649+d7aa543c.x86_64.rpm
MD5: 0bce92d1ba5da6f968b58028c1b84da3
SHA-256: 554ad189d83d3be1734707ae2695b49817f6c2c64b8fab8f8f6c568dd03dc937
Size: 12.27 MB - nodejs-debugsource-16.19.1-2.module+el8+1649+d7aa543c.x86_64.rpm
MD5: 1f07312eac7d7bfc140e52e37c2544ed
SHA-256: 22502282792ec3552956653a557be8a6c96c13258508c78dcf7f3c0310a2d725
Size: 13.04 MB - nodejs-devel-16.19.1-2.module+el8+1649+d7aa543c.x86_64.rpm
MD5: 929b07d238a8fb97c1ce4ba98ee90a73
SHA-256: c002599a536506236db71ace8494eb8ae71f03b7d16c09e81aaccd657aa4df03
Size: 192.07 kB - nodejs-docs-16.19.1-2.module+el8+1649+d7aa543c.noarch.rpm
MD5: 327f4f7ecb8cae1c55b7f74fb809890a
SHA-256: 75c7a0bd3cb11523174afea57037418661e1e9d066c5d432f6ca7a81dda0c50d
Size: 9.34 MB - nodejs-full-i18n-16.19.1-2.module+el8+1649+d7aa543c.x86_64.rpm
MD5: a25861555adb806d314ff5abea9645d8
SHA-256: d3b28c473c319d0a4d01121c0d6abf91dca96db32ae1680c318c0bcc74aa6c80
Size: 8.01 MB - nodejs-nodemon-2.0.20-3.module+el8+1649+d7aa543c.noarch.rpm
MD5: 3305e0e9d942ca7b067e3c3e6a23027e
SHA-256: 6a00cd04f388dcbebeeddd349406ba8b5dfcce49787210e5d2b81773783f6045
Size: 272.63 kB - nodejs-packaging-25-1.module+el8+1649+d7aa543c.noarch.rpm
MD5: 847ca05f1b3e92e1d7624b80a4541029
SHA-256: 0b7369a44b9589e77404e59e01c9e948e31bf96f07f7c92028697280e1bfe6ef
Size: 23.19 kB - npm-8.19.3-1.16.19.1.2.module+el8+1649+d7aa543c.x86_64.rpm
MD5: e3e9946326e1f7fa8fbd9b5b2bd88b58
SHA-256: bdc37a51dc193db1a9837d80905d659fd8f75280aec79482916b9322e87203ca
Size: 1.88 MB