Skip to content

CVE-2012-5526 CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applicatio...

MediumCVSS 5.0 EPSS 3.3%
Published
Updated
Exploit status
No public exploit known

Description

CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.

Affected products

ProductAffected versionsFixed in
debian/libcgi-pm-perl(Debian:12) < 3.61-2 3.61-2
debian/libcgi-pm-perl(Debian:13) < 3.61-2 3.61-2
debian/libcgi-pm-perl(Debian:14) < 3.61-2 3.61-2
debian/perl(Debian:12) < 5.14.2-16 5.14.2-16
debian/perl(Debian:13) < 5.14.2-16 5.14.2-16
debian/perl(Debian:14) < 5.14.2-16 5.14.2-16
andy armstrong cgi.pm <= 3.62 No fix listed

References