6.5med

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 o…

Published 21 y ago · modified 4 mo ago · JSON

CVSS
6.5
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.5%
percentile 89%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

3.51% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.06.5AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds
PostgreSQL (RSS, critical only)

References

  • archives.postgresql.org /pgsql-committers/2005-02/msg00049.php · mailing-list, x_refsource_MLIST, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/19377 · vdb-entry, x_refsource_XF, x_transferred
  • gentoo.org /security/en/glsa/glsa-200502-19.xml · vendor-advisory, x_refsource_GENTOO, x_transferred
  • mandriva.com /security/advisories?name=MDKSA-2005:040 · vendor-advisory, x_refsource_MANDRAKE, x_transferred
  • marc.info /?l=bugtraq&m=110806034116082&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • novell.com /linux/security/advisories/2005_27_postgresql.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/19375 · vdb-entry, x_refsource_XF, x_transferred
  • redhat.com /support/errata/RHSA-2005-138.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/19376 · vdb-entry, x_refsource_XF, x_transferred
  • redhat.com /support/errata/RHSA-2005-150.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/19378 · vdb-entry, x_refsource_XF, x_transferred
  • oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345 · vdb-entry, signature, x_refsource_OVAL, x_transferred
  • securityfocus.com /bid/12417 · vdb-entry, x_refsource_BID, x_transferred
  • debian.org /security/2005/dsa-683 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • novell.com /linux/security/advisories/2005_36_sudo.html · vendor-advisory, x_refsource_SUSE, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.