Text::Minify::XS versions before 0.7.10 for Perl terminate the process when minify is called with a number or a reference
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to Text-Minify-XS v0.7.10 or later.
Vendor Workaround
For deployments that cannot upgrade, convert the argument to a string before calling minify, minify_utf8 or minify_ascii, for example minify("$text").
No CVSS v4.0
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Text::Minify::XS versions before 0.7.10 for Perl terminate the process when minify is called with a number or a reference. Text::Minify::XS removes indentation and trailing whitespace from multi-line text. minify and minify_ascii read the argument's string buffer directly, without converting a number or reference first. For such an argument the pointer and length are meaningless, and the call exits with an "Out of memory" error, or crashes, which eval cannot catch. minify_utf8 is an alias for minify. An attacker who can send a number or a JSON boolean where an application expects a string, for example in a JSON request body passed to minify, can terminate the process. | |
| Title | Text::Minify::XS versions before 0.7.10 for Perl terminate the process when minify is called with a number or a reference | |
| Weaknesses | CWE-843 | |
| References |
|
No data.
No data.
No data.
No data.
No data.