Vulnerabilities · 2005 · Postgresql
CVE-2005-0247
Postgresql vulnerability
Multiple buffer overflows in gram.y for PostgreSQL 8.0.1 and earlier may allow attackers to execute arbitrary code via (1) a large number of variables in a SQL statement being handled by the read_sql_construct function, (2) a large number of INTO variables in a SELECT statement being handled by the make_select_stmt function, (3) a large number of arbitrary variables in a SELECT statement being handled by the make_select_stmt function, and (4) a large number of INTO variables in a FETCH statement being handled by the make_fetch_stmt function, a different set of vulnerabilities than CVE-2005-0245.
Affected products
Postgresql. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.gentoo.org/security/en/glsa/glsa-200502-19.xml · Patch
- www.novell.com/linux/security/advisories/2005_27_postgresql.html · Patch
- www.redhat.com/support/errata/RHSA-2005-138.html · Patch
- www.redhat.com/support/errata/RHSA-2005-150.html · Patch
- archives.postgresql.org/pgsql-committers/2005-02/msg00049.php · Patch
- marc.info/?l=bugtraq&m=110806034116082&w=2
- www.debian.org/security/2005/dsa-683
- www.mandriva.com/security/advisories?name=MDKSA-2005:040
- nvd.nist.gov/vuln/detail/CVE-2005-0247
- cve.org/CVERecord?id=CVE-2005-0247
More vulnerabilities in Postgresql products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.