Audit Linux privileges now to limit compromise, escalation, and system-wide damage. Review Linux Privileges×

Alerts This Week
Warning Icon 1 506
Alerts This Week
Warning Icon 1 506

Scientific Linux 5.x CVE-2009-0663 Moderate: perl-DBD-Pg Buffer Overflow

Scientific Large Esm H446
Moderate: perl-DBD-Pg security update
Date: Wed, 13 May 2009 14:23:12 -0500
Reply-To: Troy Dawson 
Sender: Security Errata for Scientific Linux
 
From: Troy Dawson 
Subject: Security ERRATA Moderate: perl-DBD-Pg on SL5.x i386/x86_64
Comments: To: "This email address is being protected from spambots. You need JavaScript enabled to view it."
 

Synopsis:	Moderate: perl-DBD-Pg security update
Issue date:	2009-05-13
CVE Names:	CVE-2009-0663 CVE-2009-1341

A heap-based buffer overflow flaw was discovered in the pg_getline
function implementation. If the pg_getline or getline functions read
large, untrusted records from a database, it could cause an application
using these functions to crash or, possibly, execute arbitrary code.
(CVE-2009-0663)

Note: After installing this update, pg_getline may return more data than
specified by its second argument, as this argument will be ignored. This
is consistent with current upstream behavior. Previously, the length
limit (the second argument) was not enforced, allowing a buffer overflow.

A memory leak flaw was found in the function performing the de-quoting
of BYTEA type values acquired from a database. An attacker able to cause
an application using perl-DBD-Pg to perform a large number of SQL
queries returning BYTEA records, could cause the application to use
excessive amounts of memory or, possibly, crash. (CVE-2009-1341)

Applications using perl-DBD-Pg must be restarted for the update to take
effect.

SL 5.x

 SRPMS:
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm
 i386:
perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm
 x86_64:
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm

-Connie Sieh
-Troy Dawson