xgrammar@0.1.31 vulnerabilities

Efficient, Flexible and Portable Structured Generation

  • latest version

    0.1.32

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    10 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the xgrammar package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Uncontrolled Recursion

    xgrammar is an Efficient, Flexible and Portable Structured Generation

    Affected versions of this package are vulnerable to Uncontrolled Recursion through the handling of multi-level nested grammar rules. An attacker can cause a segmentation fault and crash the application by submitting deeply nested input.

    How to fix Uncontrolled Recursion?

    Upgrade xgrammar to version 0.1.32 or higher.

    [0.1.31,0.1.32)