CVE-2012-5526

NameCVE-2012-5526
DescriptionCGI.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.
SourceCVE (at NVD; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)
ReferencesDSA-2586-1, DSA-2587-1
NVD severitymedium (attack range: remote)
Debian Bugs693420, 693421
Debian/oldoldstablenot vulnerable.
Debian/oldstablenot vulnerable.
Debian/stablenot vulnerable.
Debian/testingnot vulnerable.
Debian/unstablenot vulnerable.

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcgi-pm-perl (PTS)squeeze, squeeze (security)3.49-1squeeze2fixed
wheezy3.61-2fixed
jessie4.09-1fixed
stretch, sid4.09-2fixed
perl (PTS)squeeze, squeeze (security)5.10.1-17squeeze6fixed
wheezy5.14.2-21+deb7u2fixed
stretch, jessie5.20.2-3fixed
sid5.20.2-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcgi-pm-perlsource(unstable)3.61-2medium693421
libcgi-pm-perlsourcesqueeze3.49-1squeeze2mediumDSA-2587-1
perlsource(unstable)5.14.2-16medium693420
perlsourcesqueeze5.10.1-17squeeze4mediumDSA-2586-1

Notes

http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes
https://github.com/markstos/CGI.pm/pull/23
https://bugzilla.redhat.com/show_bug.cgi?id=877015

Search for package or bug name: Reporting problems