A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Text::CSV_XS versions before 1.65 for Perl allow quadratic CPU use by copying the unparsed remainder per record of CR-only input in getline.
With eol unset, the default, getline reads with Perl's default line separator, so input with CR-only line endings arrives as one chunk. After each record the parser copies the whole unparsed remainder into a new buffer, which the next call parses and copies again, so the work grows with the square of the input size.
A reader with default options that is sent CSV with classic Mac line endings spends seconds of CPU time on a megabyte of input.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /cpan-authors/Text-CSV_XS/commit/f25e00aacd6fc15857b22487cb…
- metacpan.org /release/HMBRAND/Text-CSV_XS-1.65/changes
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning