Perl DBD-Pg Module: Arbitrary code execution
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 201204-08 / DBD-Pg |
| Release Date |
April 17, 2012 |
| Latest Revision |
April 17, 2012: 1 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-perl/DBD-Pg |
<
2.19.0 |
>=
2.19.0 |
All supported architectures
|
Related bugreports:
#407549
Synopsis
Two format string vulnerabilities have been found in the Perl
DBD-Pg module, allowing a remote PostgreSQL servers to execute arbitrary
code.
2.
Impact Information
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All users of the Perl DBD-Pg module should upgrade to the latest
version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-perl/DBD-Pg-2.19.0"
|
4.
References
|