nlakshmi has asked for the wisdom of the Perl Monks concerning the following question:
I am currently using perl 5.6.1 in my application. I am using XML::Parser (version 2.30) module to parse the XML input. This module is vulnerable for an attack called Billions of laughs attack which increases the CPU and hence leads to Denial Of Service.
Is there any latest version of XML::Parser where this vulnerability is addressed? (I did not get it in CPAN)
I thought of replacing XML::Parser module with XML::LibXML::Parser module to address this vulnerability as LibXML 2.0100 is having the fix. I installed that module manually. But I am getting dependency issues while executing the script. Not sure if LibXML version (2.0100) is compatible with Perl 5.6.1.
Can anyone advice on this.
Thanks and regards,
Nagalakshmi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Billions of laughs attack
by Corion (Patriarch) on Feb 27, 2018 at 14:59 UTC | |
by dave_the_m (Monsignor) on Feb 27, 2018 at 15:21 UTC | |
|
Re: Billions of laughs attack
by davies (Monsignor) on Feb 27, 2018 at 15:05 UTC | |
|
Re: Billions of laughs attack
by LanX (Saint) on Feb 27, 2018 at 15:24 UTC | |
by Laurent_R (Canon) on Feb 27, 2018 at 22:46 UTC | |
by Jenda (Abbot) on Feb 27, 2018 at 23:27 UTC | |
by Laurent_R (Canon) on Feb 28, 2018 at 07:25 UTC | |
by LanX (Saint) on Feb 28, 2018 at 09:00 UTC | |
|
Re: Billions of laughs attack
by Anonymous Monk on Feb 28, 2018 at 02:01 UTC |