Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359787 - <sys-auth/pam-pgsql-0.7.3: Incorrect Format Specifier Vulnerability
Summary: <sys-auth/pam-pgsql-0.7.3: Incorrect Format Specifier Vulnerability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~1 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 14:22 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-03-22 02:19 UTC (History)
1 user (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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-03-21 14:22:51 UTC
A vulnerability has been reported in libpam-pgsql, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system.

The vulnerability is caused due to the "pg_execParam()" function in src/backend_pgsql.c using an incorrect format specifier, which can be exploited to cause a heap-based buffer overflow by e.g. connecting from an IPv4 address containing an octet larger than 127 to an application using the module.

The vulnerability is reported in version 0.7.1. Other versions may also be affected.


Solution
Do not use a vulnerable version of the module.

Provided and/or discovered by
Krzysztof Galazka within a Debian bug report.

Original Advisory
Debian bug #603436:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603436

http://secunia.com/advisories/43471/
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-03-21 14:48:33 UTC
Bumped to 0.7.3 and removed old version. It was never stable so this should probably be closed.
Comment 2 Tim Sammut (RETIRED) gentoo-dev 2011-03-22 02:19:48 UTC
(In reply to comment #1)
> Bumped to 0.7.3 and removed old version. It was never stable so this should
> probably be closed.

Thanks, Diego.