<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: perl-DBD-Pg security update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2012:1116</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-07-25T16:52:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-07-25T16:52:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-07-25T16:52:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-07-25T17:01:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated perl-DBD-Pg package that fixes two security issues is now
available for Red Hat Enterprise Linux 5 and 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
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.

Two format string flaws were found in perl-DBD-Pg. A specially-crafted
database warning or error message from a server could cause an application
using perl-DBD-Pg to crash or, potentially, execute arbitrary code with the
privileges of the user running the application. (CVE-2012-1151)

All users of perl-DBD-Pg are advised to upgrade to this updated package,
which contains a backported patch to fix these issues. Applications using
perl-DBD-Pg must be restarted for the update to take effect.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Moderate</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-1116.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1116.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#moderate</URL>
       <Description>https://access.redhat.com/security/updates/classification/#moderate</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise Linux">
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop (v. 5 client)">
        <FullProductName ProductID="5Client-5.8.Z">Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server (v. 6)">
        <FullProductName ProductID="6Server-6.3.z">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation-6.3.z">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node (v. 6)">
        <FullProductName ProductID="6ComputeNode-6.3.z">Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux (v. 5 server)">
        <FullProductName ProductID="5Server-5.8.Z">Red Hat Enterprise Linux (v. 5 server)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="perl-DBD-Pg-1.49-4.el5_8">
      <FullProductName ProductID="perl-DBD-Pg-1.49-4.el5_8">perl-DBD-Pg-1.49-4.el5_8.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-DBD-Pg-2.15.1-4.el6_3">
      <FullProductName ProductID="perl-DBD-Pg-2.15.1-4.el6_3">perl-DBD-Pg-2.15.1-4.el6_3.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="perl-DBD-Pg-1.49-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-5.8.Z">
      <FullProductName ProductID="5Client-5.8.Z:perl-DBD-Pg-1.49-4.el5_8">perl-DBD-Pg-1.49-4.el5_8 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-DBD-Pg-2.15.1-4.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Server-6.3.z">
      <FullProductName ProductID="6Server-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3">perl-DBD-Pg-2.15.1-4.el6_3 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-DBD-Pg-2.15.1-4.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.3.z">
      <FullProductName ProductID="6Workstation-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3">perl-DBD-Pg-2.15.1-4.el6_3 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-DBD-Pg-2.15.1-4.el6_3" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-6.3.z">
      <FullProductName ProductID="6ComputeNode-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3">perl-DBD-Pg-2.15.1-4.el6_3 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-DBD-Pg-1.49-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Server-5.8.Z">
      <FullProductName ProductID="5Server-5.8.Z:perl-DBD-Pg-1.49-4.el5_8">perl-DBD-Pg-1.49-4.el5_8 as a component of Red Hat Enterprise Linux (v. 5 server)</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Two format string flaws were found in perl-DBD-Pg. A specially-crafted database warning or error message from a server could cause an application using perl-DBD-Pg to crash or, potentially, execute arbitrary code with the privileges of the user running the application. </Note></Notes>
    <DiscoveryDate>2012-03-09T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-02-27T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-1151</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Client-5.8.Z:perl-DBD-Pg-1.49-4.el5_8</ProductID>
      <ProductID>5Server-5.8.Z:perl-DBD-Pg-1.49-4.el5_8</ProductID>
      <ProductID>6ComputeNode-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3</ProductID>
      <ProductID>6Server-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3</ProductID>
      <ProductID>6Workstation-6.3.z:perl-DBD-Pg-2.15.1-4.el6_3</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.1</BaseScore>
      <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:P</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-1116.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-1151.html</URL>
        <Description>CVE-2012-1151</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=801733</URL>
        <Description>bz#801733: CVE-2012-1151 perl-DBD-Pg: Format string flaws by turning db notices into Perl warnings and by preparing DBD statement</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
