Buffer overflow in PostgreSQL
CVE-2005-0247
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.035 (88.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.035 · change: 0.000
Affected products
- PostgreSQL — versions 7.2, 7.2.1, 7.2.2
Weakness classification (CWE)
References
- archives.postgresql.org/pgsql-committers/2005-02/msg00049.php (mailing-list, Patch)
- exchange.xforce.ibmcloud.com/vulnerabilities/19377 (vdb-entry)
- www.gentoo.org/security/en/glsa/glsa-200502-19.xml (vendor-advisory, Patch, Vendor Advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- marc.info/ (mailing-list)
- www.novell.com/linux/security/advisories/2005_27_postgresql.html (vendor-advisory, Patch, Vendor Advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/19375 (vdb-entry)
- www.redhat.com/support/errata/RHSA-2005-138.html (vendor-advisory, Patch, Vendor Advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/19376 (vdb-entry)
- www.redhat.com/support/errata/RHSA-2005-150.html (vendor-advisory, Patch, Vendor Advisory)