Vulnerability in PostgreSQL
CVE-2005-0245
Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute arbitrary code via a large number of arguments to a refcursor function (gram.y), which leads to a heap-based buffer overflow, a different vulnerability than CVE-2005-0247.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.145, 96.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL — versions 8.0
References
- postgresql-cursor-bo(19188) (Third Party Advisory, VDB Entry, vdb-entry)
- [pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser. (Vendor Advisory, mailing-list)
- MDKSA-2005:040 (vendor-advisory, Broken Link)
- 20050210 [USN-79-1] PostgreSQL vulnerabilities (mailing-list, Third Party Advisory, Issue Tracking)
- oval:org.mitre.oval:def:10175 (signature, Third Party Advisory, vdb-entry)
- [pgsql-patches] 20050120 Re: WIP: pl/pgsql cleanup (Vendor Advisory, mailing-list, Exploit)
- RHSA-2005:138 (vendor-advisory, Patch, Vendor Advisory)
- secunia.com/advisories/12948 (Exploit, Patch, third-party-advisory, Vendor Advisory)
- RHSA-2005:150 (vendor-advisory, Patch, Vendor Advisory)
- [pgsql-committers] 20050121 pgsql: Prevent overrunning a heap-allocated buffer is more than 1024 (Vendor Advisory, mailing-list)