Moleculerの脆弱性で未認証の遠隔からサービス停止のおそれ
Summary
Moleculerには、TCPトランスポーターのパケット解析で不正な長さの値を処理すると無限ループに陥り、認証なしの遠隔攻撃でサービスが停止する脆弱性が見つかりました。影響を受けるのは0.14.36より前の版と0.15.2より前の版で、修正版の0.14.36と0.15.2で直ります。TCPトランスポーターを使っている環境は、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Moleculerには、TCPトランスポーターのパケット解析で不正な長さの値を処理すると無限ループに陥り、認証なしの遠隔攻撃でサービスが停止する脆弱性が見つかりました。影響を受けるのは0.14.36より前の版と0.15.2より前の版で、修正版の0.14.36と0.15.2で直ります。TCPトランスポーターを使っている環境は、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| moleculerjsmoleculer | — | Not listed |
| npmmoleculer |
< 0.14.36→ 0.14.36 |
0.14.36 |
Original description The description as published by the source.
Moleculer is a progressive microservices framework for Node.js. Prior to 0.14.36 and 0.15.2, Parser._write in src/transporters/tcp/parser.js used Buffer.prototype.readInt32BE to read a signed packet length, so a remote unauthenticated peer could supply a negative value that caused packet.slice(length) to return the unchanged buffer while the while (packet.length > 0) loop continued indefinitely. The synchronous loop blocked the Node.js event loop and made every service in the process unresponsive until restart. The TCP transporter must be enabled and reachable, and neither CRC validation nor maxPacketSize prevents the malformed length value. This issue is fixed in versions 0.14.36 and 0.15.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com