Python Liquid: Infinite loop when parsing malformed `{% case %}` tags
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| jg-rp | liquid | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jg-rp | Liquid |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vq2f-vcc9-j8mv | Python Liquid: Infinite loop when parsing malformed `{% case %}` tags |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.451% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jg-rp
Jg-rp liquid |
|
| Vendors & Products |
Jg-rp
Jg-rp liquid |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Python Liquid is a Python engine for the Liquid template language. Prior to 2.2.1, given a malformed {% case %} tag without an associated {% when %} or {% else %} block and no terminating {% endcase %} tag, Python Liquid hangs in an infinite loop at parse time because liquid.TokenStream.eof did not give the EOF token matching kind and value fields, allowing malicious template authors to craft templates for a denial of service attack. This issue is fixed in version 2.2.1. | |
| Title | Python Liquid: Infinite loop when parsing malformed `{% case %}` tags | |
| Weaknesses | CWE-835 | |
| References |
| |
| Metrics |
cvssV4_0
|