CVE-2005-0247

critical

Description

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.

References

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345

https://exchange.xforce.ibmcloud.com/vulnerabilities/19378

https://exchange.xforce.ibmcloud.com/vulnerabilities/19377

https://exchange.xforce.ibmcloud.com/vulnerabilities/19376

https://exchange.xforce.ibmcloud.com/vulnerabilities/19375

http://www.securityfocus.com/bid/12417

http://www.redhat.com/support/errata/RHSA-2005-150.html

http://www.redhat.com/support/errata/RHSA-2005-138.html

http://www.novell.com/linux/security/advisories/2005_36_sudo.html

http://www.novell.com/linux/security/advisories/2005_27_postgresql.html

http://www.mandriva.com/security/advisories?name=MDKSA-2005:040

http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml

http://www.debian.org/security/2005/dsa-683

http://marc.info/?l=bugtraq&m=110806034116082&w=2

http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php

Details

Source: Mitre, NVD

Published: 2005-05-02

Updated: 2017-10-11

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical