grobidOrg GROBID
GROBID: Unauthenticated `/api/modelTraining` Endpoint Allows Unbounded Thread Pool Creation (DoS)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.9.1
Fixed in 0.9.1
Mitigation
Upgrade grobid to 0.9.1 or later.
References
- Vendor advisory github.com/grobidOrg/grobid/security/advisorie…
- Patch github.com/grobidOrg/grobid/pull/1477
- Patch github.com/grobidOrg/grobid/commit/3227e9a6a99…
1 more
- Release notes github.com/grobidOrg/grobid/releases/tag/0.9.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.