CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

security/pam-pgsql 0.7.3.2_2

PAM module for authenticating with PostgreSQL

Port info

Maintainer
berend@pobox.com
Packages
latest: 0.7.3.2_2
Upstream
up to date
Last update
to 0.7.3.2_2 · d9b3e6b67a
Quarterly
2026Q4: 0.7.3.2_2
WWW
https://sourceforge.net/projects/pam-pgsql/
Links
cgit · VuXML

Install

Package
# pkg install pam-pgsql
installs 0.7.3.2_2 from latest; from quarterly (2026Q4) 0.7.3.2_2
Port
# cd /usr/ports/security/pam-pgsql && make install clean
# make -C /usr/ports/security/pam-pgsql config  # change options first
Size
25 KiB download · 61 KiB installed
Depends on
databases/postgresql18-client 18.6, security/libgcrypt 1.12.4, security/mhash 0.9.9.9_6
License
GPLv2
Options
1 of 1 on in the package: DOCS
pkg-message
Shown after installing
Follow the instructions in the

 /usr/local/share/doc/pam-pgsql/README

to use this module. Note, that unlike most other ports, this port
installs a file into /usr/lib directly (/usr/lib/pam_pgsql.so),
because PAM requires that.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.7.3.2_20.7.3.2_2–
FreeBSD 150.7.3.2_20.7.3.2_2–
FreeBSD 140.7.3.2_20.7.3.2_20.7.3.2_2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.7.3.2_20.7.3.2_2–
FreeBSD 140.7.3.2_20.7.3.2_20.7.3.2_2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.7.3.2_2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (61)

Mikhail Teterin (mi) · 0.5.2_2
Fix bugs in my MASTER_SITES mechanismo (too bad, the MASTER_SITE_DEBIAN idea is not catching up), and upgrade the port to port-revision 2, which uses the newer patch from the authors 0.5.2-2.
97a8737613
Mikhail Teterin (mi) · 0.5.2
Update to 0.5.2,  which also includes the fix for  the security hole I tried to close before. Note, that the hole WAS STILL THERE in 0.5.1 -- up until  today :-( Although I  added the pqescape.c, I  forgot to add the patch, that made use of it...
0474c49222
Mikhail Teterin (mi) · 0.5.1
Close the security hole by making it escape all of the untrusted input before passing it to the SQL  server. The code in the added pqescape.c is going to be in the next PostgreSQL release, but it is not there yet and this port will use its own private copy for now.

No REVISION  bump since  the port  was forbidden  ever since  the last
upgrade. Submitter reviewed  my tweaks of his patch  and approved them
authorizing (as one of the SOs) the removal of the FORBIDDEN flag.

Submitted by:	nectar
Reviewed by:	nectar
Approved by:	nectar
Obtained from:	http://CERT.uni-stuttgart.de/doc/postgresql/escape/
6c09982b17
Mikhail Teterin (mi) · 0.5.1
Remove the dependency on security/mhash by calling MD5Data directly. No REVISION bump, as the port remained FORBIDDEN ever since the last upgrade.

While here, clarify the FORBIDDEN message a little.
396ebf2f43
Jacques Vidrine (nectar) · 0.5.1
Mark this port FORBIDDEN due to a security hole.
f6a3e78db7
Mikhail Teterin (mi) · 0.5.1
Upgrade to 0.5.1. It now uses mhash, BTW.

Submitted by:	fenner's script (thanks!)
d9eb6b3687
Mikhail Teterin (mi) · 0.3_1
Re-organize the local MASTER_SITE_DEBIAN setting to include A LOT of country-code based aliases for the debian mirrors. Someone with power to commit to bsd.sites.mk should, of course, move it there ASAP.

Get ready for upgrade to 0.5.1 -- noone else stepped forward to do this.
d94195aac0
Vanilla I. Shu (vanilla) · 0.3_1
Fix include directory for postgresql7.1's new layout.
7b48829512
Mikhail Teterin (mi) · 0.3
Fix the package building (I used - in the Makefile, but _ in the pkg-plist)  by passing  the DOCDIR  variable through  PLIST_SUB. Remove my  own PLIST_SUB hackery that  predated (and, hopefully, inspired) the now standard PORTDOCS addition.

Surprisingly enough, there still is no version 0.4 of this thing
on the distsite...

Submitted by: bento (and fenner's script -- many thanks)
34cf5e431b
Mikhail Teterin (mi) · 0.3
Fix the hardcoded prefix path to the ${LOCALBASE}.

Submitted by:	vanilla
196ab31ef4
Mikhail Teterin (mi) · 0.3
Add pam-pgsql 0.3, a pam module for authenticating with PostgreSQL.

PR:		22876
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
6b65c45f49