GLSA-201204-08 : Perl DBD-Pg Module: Arbitrary code execution

medium Nessus Plugin ID 59624

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201204-08 (Perl DBD-Pg Module: Arbitrary code execution)

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.

Solution

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'

See Also

https://security.gentoo.org/glsa/201204-08

Plugin Details

Severity: Medium

ID: 59624

File Name: gentoo_GLSA-201204-08.nasl

Version: 1.10

Type: local

Published: 6/21/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dbd-pg, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 4/17/2012

Reference Information

CVE: CVE-2012-1151

BID: 52378

GLSA: 201204-08