Executive Summary

Summary
TitlePerl DBD-Pg Module: Arbitrary code execution
Informations
NameGLSA-201204-08First vendor Publication2012-04-17
VendorGentooLast vendor Modification2012-04-17
Severity (Vendor) NormalRevisionN/A

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Cvss Base Score5Attack RangeNetwork
Cvss Impact Score2.9Attack ComplexityLow
Cvss Expoit Score10AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Two format string vulnerabilities have been found in the Perl DBD-Pg module, allowing a remote PostgreSQL servers to execute arbitrary code.

Background

DBD-Pg is a PostgreSQL interface module for Perl.

Description

Format string vulnerabilities have been found in the the "pg_warn()"
and "dbd_st_prepare()" functions in dbdimp.c.

Impact

A remote PostgreSQL server could send specially crafted database warnings or DBD statements, possibly resulting in execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All users of the Perl DBD-Pg module should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-perl/DBD-Pg-2.19.0"

References

[ 1 ] CVE-2012-1151 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1151

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201204-08.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201204-08.xml

CWE : Common Weakness Enumeration

idName
CWE-134Uncontrolled Format String

CPE : Common Platform Enumeration

TypeDescriptionCount
Application120