<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="201204-08"> <title>Perl DBD-Pg Module: Arbitrary code execution</title> <synopsis>Two format string vulnerabilities have been found in the Perl DBD-Pg module, allowing a remote PostgreSQL servers to execute arbitrary code. </synopsis> <product type="ebuild">DBD-Pg</product> <announced>2012-04-17</announced> <revised count="1">2012-04-17</revised> <bug>407549</bug> <access>remote</access> <affected> <package name="dev-perl/DBD-Pg" auto="yes" arch="*"> <unaffected range="ge">2.19.0</unaffected> <vulnerable range="lt">2.19.0</vulnerable> </package> </affected> <background> <p>DBD-Pg is a PostgreSQL interface module for Perl.</p> </background> <description> <p>Format string vulnerabilities have been found in the the "pg_warn()" and "dbd_st_prepare()" functions in dbdimp.c. </p> </description> <impact type="normal"> <p>A remote PostgreSQL server could send specially crafted database warnings or DBD statements, possibly resulting in execution of arbitrary code. </p> </impact> <workaround> <p>There is no known workaround at this time.</p> </workaround> <resolution> <p>All users of the Perl DBD-Pg module should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=dev-perl/DBD-Pg-2.19.0" </code> </resolution> <references> <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1151">CVE-2012-1151</uri> </references> <metadata timestamp="2012-03-17T19:18:38Z" tag="requester">ackle</metadata> <metadata timestamp="2012-04-17T22:44:31Z" tag="submitter">ackle</metadata> </glsa>