nodejs:12 security, bug fix, and enhancement update
エラータID: AXSA:2021-2333:01
リリース日:
2021/08/11 Wednesday - 10:49
題名:
nodejs:12 security, bug fix, and enhancement update
影響のあるチャネル:
Asianux Server 8 for x86_64
Severity:
Moderate
Description:
以下項目について対処しました。
[Security Fix]
- libuv の uv__idna_toascii() には、文字列を ASCII に変換する際にポインターの
バッファーの終端かどうかを確認せずに読み込んでしまう境界外読み込みの問題があり、
これにより情報の漏洩やクラッシュが発生する脆弱性があります。(CVE-2021-22918)
- hosted-git-info パッケージには、index.js の fromUrl 関数内の変数
shoutcutMatch に設定されている正規表現 によって、正規表現によるサービス拒否
(ReDoS) 状態に陥る脆弱性があります。(CVE-2021-23362)
- ssri には strict オプションを使用して SRI を 正規表現で処理する際に問題があ
り、悪意のある SRI を与えることによって処理に非常に長い時間が掛かり、サービス
拒否状態に陥る脆弱性があります。(CVE-2021-27290)
Modularity name: nodejs
Stream name: 12
解決策:
パッケージをアップデートしてください。
CVE:
CVE-2021-22918
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
CVE-2021-23362
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.
CVE-2021-27290
ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.
ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.
追加情報:
N/A
ダウンロード:
SRPMS
- nodejs-nodemon-2.0.3-1.module+el8+1285+cf272194.src.rpm
MD5: 25fb2d9b9b338f0353d85f0feaef9dda
SHA-256: b713fc9d9cea9487a7a4e55fabb1252bd501c4b95df5e888bd7ce694ad470ad9
Size: 1.15 MB - nodejs-packaging-17-3.module+el8+1285+cf272194.src.rpm
MD5: be9d46eb502c90583d86dcc78e6acca1
SHA-256: 179013c4a9cd27ff9394e04ff95dd38946d1e088fff105cf0a185b430fe84ff8
Size: 20.66 kB - nodejs-12.22.3-2.module+el8+1285+cf272194.src.rpm
MD5: 13bd3a29331dd0856e8ba1df6c35050b
SHA-256: 6ab892d49f26845dcd51a120c96dead14f800ef63d4c017711f1de75bc038829
Size: 55.80 MB
Asianux Server 8 for x86_64
- nodejs-nodemon-2.0.3-1.module+el8+1285+cf272194.noarch.rpm
MD5: fc79b5592c02af2b08b09f638be199ee
SHA-256: 09ddc5ffa0b21b5707b3678408f5884e27b03482eab5159a4b898ba4fbced75c
Size: 806.99 kB - nodejs-packaging-17-3.module+el8+1285+cf272194.noarch.rpm
MD5: a684335bbe75d393e9a87214f45644af
SHA-256: 2ddfe229a0bbb27be55929c39e08987b1b2a7655679e35dc9069129e103a3050
Size: 18.41 kB - nodejs-12.22.3-2.module+el8+1285+cf272194.x86_64.rpm
MD5: 75de547e86eb16b392d8f025d436af3a
SHA-256: a399886839d4265e57ff65e297ed6cc431cfc77011de3cc1e49afcb438664e64
Size: 10.13 MB - nodejs-debugsource-12.22.3-2.module+el8+1285+cf272194.x86_64.rpm
MD5: f610b40fc447e118cc1b1578c6a8483f
SHA-256: ac4617deebec51e5541cdd23174f61cd3b1049e1a6d000472fff7f28cac64a08
Size: 10.35 MB - nodejs-devel-12.22.3-2.module+el8+1285+cf272194.x86_64.rpm
MD5: 89a69e03cd410ac85dbde18f9648577a
SHA-256: 03b3626a7383fea63c4735202fe368750c49d8db6bf5b452cb75d7ecc85c812d
Size: 175.28 kB - nodejs-docs-12.22.3-2.module+el8+1285+cf272194.noarch.rpm
MD5: 1aadfdd5508c629c5abb023d4446f624
SHA-256: cdf31e2e26842bbf4f1252974cd3ffb68f4c95b5d2dee3e16cd735260f488e1d
Size: 4.10 MB - nodejs-full-i18n-12.22.3-2.module+el8+1285+cf272194.x86_64.rpm
MD5: 51b4a076df6f8d7be9136437a3153521
SHA-256: 3d80365f25fdf408138e8fdf9d65eb5fbd09f5309cdc69e6a7dba1e242f5cec1
Size: 7.49 MB - npm-6.14.13-1.12.22.3.2.module+el8+1285+cf272194.x86_64.rpm
MD5: 85e030ef9e019564efcb42343253008a
SHA-256: 7cada8ffadf6b98d6dfd893ffbf12533cbbdeee27f4443a9bc51958efbfea65b
Size: 3.67 MB