Bugzilla – Bug 55714
VUL-0: CVE-2004-0547: buffer overflow in postgresql
Last modified: 2021-10-14 08:36:27 UTC
Date: Sun, 16 May 2004 08:57:45 +0200 From: Martin Schulze <joey@infodrom.org> To: vendor-sec@lst.de Subject: [vendor-sec] Problem in PostgreSQL/ODBC Parts/Attachments: 1 Shown 19 lines Text 2 OK 169 lines Text ---------------------------------------- A buffer overflow has been discovered in the ODBC driver of PostgreSQL, an object-relational SQL database, descended from POSTGRES. It possible to exploit this problem and crash the surrounding application. Hence, a PHP script using php4-odbc can be utilised to crash the surrounding Apache webserver. Other parts of postgresql are not affected. This problem was reported through the Debian Bug Tracking System: http://bugs.debian.org/247306 Our maintainer has already informed upstream and sent them a patch. I'm including the patch against version 7.2.1. Regards, Joey
<!-- SBZ_reproduce --> ...
Created attachment 19739 [details] proposed patch from debian ...
Huh, what was the package name again?? I think I edited the field when I made the entyr but it seemed to disappear. It was some odd name...
It depends on what version(s) we are talking about. Previously it was a subpackage of postgresql called postgresql-odbc, but then it became a separate project, and so I put it into a separate package and gave it the same name as the project: psqlODBC.
So we need different patchinfo files?
I think so, but I am not so familiar with patchinfo files. BTW, which versions are affected?
We will create patchinfo files, if you tell us which packages for which distros you checked in :-) The patch is probably needed for any version that has make_string(const char *s, int len, char *buf) since they add a size parameter in the patch.
postgresql-odbc for all SLES8/UL1 and the box up to 8.1 psqlODBC for SLS9 and the box starting from 8.2
will SLES9 include the fixed package or is a patchinfo for that required as well?
No patchinfo is needed for SLES9, because it hasn't been released yet.
Created attachment 19838 [details] proposed patchinfo for <= 8.1
Created attachment 19839 [details] proposed patchinfo for 8.2+
Created attachment 19840 [details] proposed patchinfo for sles8
are you making progress with integrating the patch into the packages?
Yes, SLES8 is done, but not yet submitted.
Submitted packages for 8.0, sles8/8.1, 8.2, 9.0, 9.1/sles9, and STABLE.
<!-- SBZ_reopen -->Reopened by lnussel@suse.de at Wed May 26 11:11:32 2004, took initial reporter krahmer@suse.de to cc
reopen to reassign to security-team for further tracking
Thanks...
*** Bug 56713 has been marked as a duplicate of this bug. ***
packages approved
CVE-2004-0547
CVE-2004-0547: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:N/I:N/A:P)