CVE-2012-1151: Medium severity Perl Perl vulnerability
Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pgwarn function or (2) a crafted DBD statement to the dbdstprepare function.
Other sources
Two format string flaws were found in the way perl-DBD-Pg, a Perl language PostgreSQL DBI implementation, performed: 1) turning of database notices into appropriate Perl language warning messages, 2) preparation of particular DBD statement.
A rogue server could provide a specially-crafted database warning or specially-crafted DBD statement, which once processed by the perl-DBD-Pg interface would lead to perl-DBD-Pg based process crash.
References: [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661536
CPAN ticket: [2] https://rt.cpan.org/Public/Bug/Display.html?id=75642
Patch proposed by Niko Tyni: [3] https://rt.cpan.org/Ticket/Attachment/1047954/547725/0001-Explicitly-warn-and-croak-with-controlled-format-str.patch
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-1151?
CVE-2012-1151 has a moderate severity rating as it can lead to denial of service through process crashes.
How do I fix CVE-2012-1151?
To fix CVE-2012-1151, update the DBD::Pg module to version 2.19.0 or later.
What software is affected by CVE-2012-1151?
CVE-2012-1151 affects versions of Perl's DBD::Pg module prior to 2.19.0.
Can CVE-2012-1151 be exploited remotely?
Yes, CVE-2012-1151 can be exploited remotely by sending crafted database warnings to vulnerable PostgreSQL servers.
What type of attacks does CVE-2012-1151 enable?
CVE-2012-1151 enables denial of service attacks by manipulating format string specifiers.