Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440940 (CVE-2012-4575) - <dev-db/pgbouncer-1.5.3: DoS (CVE-2012-4575)
Summary: <dev-db/pgbouncer-1.5.3: DoS (CVE-2012-4575)
Status: RESOLVED FIXED
Alias: CVE-2012-4575
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: ~3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 13:02 UTC by Agostino Sarubbo
Modified: 2013-08-07 16:45 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-11-02 13:02:29 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=872527 :

A denial of service flaw was found in the way pgbouncer, a lightweight connection pooler for 
PostgreSQL, performed processing of client requests attempting to add new database(s) with large 
name(s). A remote attacker could use this flaw to cause pooler server shutdown.

Relevant upstream patch:
[1] 
http://git.postgresql.org/gitweb/?p=pgbouncer.git;a=commitdiff;h=4b92112b820830b30cd7bc91bef3dd8f35305525

References:
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692103
Comment 1 Johan Bergström 2012-11-05 02:27:20 UTC
pgbouncer 1.5.3 includes a fix for this. See bug 419171.
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2012-11-20 00:40:07 UTC
CVE-2012-4575 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4575):
  The add_database function in objects.c in the pgbouncer pooler 1.5.2 for
  PostgreSQL allows remote attackers to cause a denial of service (daemon
  outage) via a long database name in a request.
Comment 3 Aaron W. Swenson gentoo-dev 2013-07-19 01:03:55 UTC
*pgbouncer-1.5.4 (19 Jul 2013)

  19 Jul 2013; Aaron W. Swenson <titanofold@gentoo.org>
  -pgbouncer-1.4.2.ebuild, -pgbouncer-1.5.ebuild, -pgbouncer-1.5.1.ebuild,
  -pgbouncer-1.5.2.ebuild, -pgbouncer-1.5.3.ebuild, -pgbouncer-1.5.3-r1.ebuild,
  +pgbouncer-1.5.4.ebuild, +files/logrotate, +files/pgbouncer.confd,
  +files/pgbouncer-dirs.patch, files/pgbouncer.initd, metadata.xml:
  Clean out old and insecure versions. Version bump. Fixes bugs 425480, 460310,
  477062, and 425034.
Comment 4 Sergey Popov gentoo-dev 2013-07-20 18:34:20 UTC
Hm, i am not sure, why this was ranked as 'B3', it seems that package has no stable version.
Comment 5 Sergey Popov gentoo-dev 2013-08-07 16:45:22 UTC
Vulnerable versions are left the tree and no glsa required, closing as FIXED