GitHub Advisory Database
GHSA-5cmr-4px5-23pc
XGrammar affected by Denial of Service by infinite recursion grammars
Details
Summary
This issue: http://github.com/mlc-ai/xgrammar/issues/250 should have it's own security advisory. Since several tools accept and pass user supplied grammars to xgrammar, and it is so easy to trigger it seems like a High.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | xgrammar | All versions before 0.1.21 (fixed in 0.1.21) |