Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2009:0479 - Security Advisory
Issued:
2009-05-13
Updated:
2009-05-13

RHSA-2009:0479 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: perl-DBD-Pg security update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated perl-DBD-Pg package that fixes two security issues is now
available for Red Hat Enterprise Linux 5.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

Description

Perl DBI is a database access Application Programming Interface (API) for
the Perl language. perl-DBD-Pg allows Perl applications to access
PostgreSQL database servers.

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)

All users of perl-DBD-Pg are advised to upgrade to this updated package,
which contains backported patches to fix these issues. Applications using
perl-DBD-Pg must be restarted for the update to take effect.

Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 5.3 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 5.3 ia64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 5.3 i386
  • Red Hat Enterprise Linux Server - AUS 5.3 x86_64
  • Red Hat Enterprise Linux Server - AUS 5.3 ia64
  • Red Hat Enterprise Linux Server - AUS 5.3 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 5.3 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux for Power, big endian - Extended Update Support 5.3 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 497367 - CVE-2009-0663 perl-DBD-Pg: pg_getline buffer overflow
  • BZ - 497503 - CVE-2009-1341 perl-DBD-Pg: dequote_bytea memory leak

CVEs

  • CVE-2009-0663
  • CVE-2009-1341

References

  • http://www.redhat.com/security/updates/classification/#moderate
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
x86_64
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm SHA-256: b97aef27e15aff15f2c8c9b83294a9c482b7749d127c4b3ab8f459c5323381e4
ia64
perl-DBD-Pg-1.49-2.el5_3.1.ia64.rpm SHA-256: b0b6ab4cdc47c00bdd415e65548d58c44cce77e22f9c55dde882c404de9aaf79
i386
perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm SHA-256: 44285126d1cf02576f4684353472bf9953023bfeda62138bc5a45fa09a23e497

Red Hat Enterprise Linux for x86_64 - Extended Update Support 5.3

SRPM
x86_64
ia64
i386

Red Hat Enterprise Linux Server - AUS 5.3

SRPM
x86_64
ia64
i386

Red Hat Enterprise Linux Workstation 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
x86_64
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm SHA-256: b97aef27e15aff15f2c8c9b83294a9c482b7749d127c4b3ab8f459c5323381e4
i386
perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm SHA-256: 44285126d1cf02576f4684353472bf9953023bfeda62138bc5a45fa09a23e497

Red Hat Enterprise Linux Desktop 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
x86_64
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm SHA-256: b97aef27e15aff15f2c8c9b83294a9c482b7749d127c4b3ab8f459c5323381e4
i386
perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm SHA-256: 44285126d1cf02576f4684353472bf9953023bfeda62138bc5a45fa09a23e497

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
s390x
perl-DBD-Pg-1.49-2.el5_3.1.s390x.rpm SHA-256: 760adb74bb3f894dd538a4e8b4a9a4b96e2524aa89c4eb233812db5d570d9107

Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 5.3

SRPM
s390x

Red Hat Enterprise Linux for Power, big endian 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
ppc
perl-DBD-Pg-1.49-2.el5_3.1.ppc.rpm SHA-256: 5b3e2baff49a90585924ae4211ba74a7867c9c33cb0ab498fc77f578e3eaef3c

Red Hat Enterprise Linux for Power, big endian - Extended Update Support 5.3

SRPM
ppc

Red Hat Enterprise Linux Server from RHUI 5

SRPM
perl-DBD-Pg-1.49-2.el5_3.1.src.rpm SHA-256: a326b03da1029d5183e94581f6fd6693bca7754173c5ffd99dd20cdf88bf06ac
x86_64
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm SHA-256: b97aef27e15aff15f2c8c9b83294a9c482b7749d127c4b3ab8f459c5323381e4
i386
perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm SHA-256: 44285126d1cf02576f4684353472bf9953023bfeda62138bc5a45fa09a23e497

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility