Activity log
- Created suggestion
xgrammar: Multi-layer nesting causes DoS
xgrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.32, the multi-level nested syntax caused a segmentation fault (core dumped). This issue has been patched in version 0.1.32.
References
-
https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3 x_refsource_CONFIRM
-
https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32 x_refsource_MISC
Affected products
- ==< 0.1.32
Matching in nixpkgs
pkgs.python312Packages.xgrammar
Efficient, Flexible and Portable Structured Generation
pkgs.python313Packages.xgrammar
Efficient, Flexible and Portable Structured Generation
pkgs.python314Packages.xgrammar
Efficient, Flexible and Portable Structured Generation