Vulnerability record
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 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,…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources