GROBIDの認証不要のAPIで無制限にスレッドを作られ、サービス停止のおそれ
Summary
GROBIDの0.9.1より前のバージョンには、認証なしで呼び出せる/api/modelTrainingエンドポイントに脆弱性があり、要求のたびにスレッドプールが作られて残り続けます。繰り返し送られると、スレッドの上限に達して処理が遅くなったり止まったりするおそれがあります。修正版は0.9.1です。外部から届く経路がある場合は、早めに修正版へ更新してください。
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.
GROBIDの0.9.1より前のバージョンには、認証なしで呼び出せる/api/modelTrainingエンドポイントに脆弱性があり、要求のたびにスレッドプールが作られて残り続けます。繰り返し送られると、スレッドの上限に達して処理が遅くなったり止まったりするおそれがあります。修正版は0.9.1です。外部から届く経路がある場合は、早めに修正版へ更新してください。
Original description The description as published by the source.
GROBID is machine learning software for extracting information from scholarly documents. Prior to 0.9.1, the unauthenticated /api/modelTraining endpoint calls GrobidRestProcessTraining.trainModel in GrobidRestProcessTraining.java, where each request creates Executors.newFixedThreadPool(1), submits a training task, and leaves the executor running. Repeated requests permanently retain JVM worker threads and can exhaust process or operating-system thread capacity, degrading or stopping request processing. This issue is fixed in version 0.9.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com