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; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2586-1, DSA-2587-1
Debian Bugs693420, 693421

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcgi-pm-perl (PTS)buster4.40-1fixed
bullseye4.51-1fixed
bookworm4.55-1fixed
sid, trixie4.64-1fixed
perl (PTS)buster5.28.1-6+deb10u1fixed
bullseye5.32.1-4+deb11u3fixed
bullseye (security)5.32.1-4+deb11u1fixed
bookworm5.36.0-7+deb12u1fixed
trixie5.38.2-3fixed
sid5.38.2-3.2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcgi-pm-perlsourcesqueeze3.49-1squeeze2DSA-2587-1
libcgi-pm-perlsource(unstable)3.61-2693421
perlsourcesqueeze5.10.1-17squeeze4DSA-2586-1
perlsource(unstable)5.14.2-16693420

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