Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Twig | twig/markdown-extra | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Twigphp | Markdown-extra |
|
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.581% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Twigphp
Twigphp markdown-extra |
|
| Vendors & Products |
Twigphp
Twigphp markdown-extra |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, with no size limit and no eviction. The options are an argument of the filter. A template that passes options taken from the input, or a sandboxed template, can therefore make this cache grow without limit. The cache outlives the environment, so it fills the memory of long-running workers. The cache now keeps at most 100 converters, like the formatter caches of IntlExtension. | |
| Title | Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV4_0
|