CVE-2005-0245
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 14.5% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 14.5% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 14.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- PostgreSQL < 7.3.10
- PostgreSQL < 7.4.7
- PostgreSQL 8.0
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2005-0245.md and follow it. Check whether this project is affected by CVE-2005-0245. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
- http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
- http://secunia.com/advisories/12948
- http://www.debian.org/security/2005/dsa-683
- http://www.redhat.com/support/errata/RHSA-2005-138.html
- http://www.redhat.com/support/errata/RHSA-2005-150.html
- http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
- http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
References
- http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
- http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
- http://marc.info/?l=bugtraq&m=110806034116082&w=2
- http://secunia.com/advisories/12948
- http://www.debian.org/security/2005/dsa-683
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
- http://www.novell.com/linux/security/advisories/2005_36_sudo.html
- http://www.redhat.com/support/errata/RHSA-2005-138.html
- http://www.redhat.com/support/errata/RHSA-2005-150.html
- http://www.securityfocus.com/bid/12417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19188
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175
- http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
- http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
- http://marc.info/?l=bugtraq&m=110806034116082&w=2
- http://secunia.com/advisories/12948
- http://www.debian.org/security/2005/dsa-683
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
- http://www.novell.com/linux/security/advisories/2005_36_sudo.html
- http://www.redhat.com/support/errata/RHSA-2005-138.html
- http://www.redhat.com/support/errata/RHSA-2005-150.html
- http://www.securityfocus.com/bid/12417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19188