What’s Vulnerable › Vulnerabilities
CVE-2004-0977
- Severity: low (CVSS 2.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2005-02-09 · updated 2026-06-16
Description
The make_oidjoins_check script in PostgreSQL 7.4.5 and earlier allows local users to overwrite files via a symlink attack on temporary files.
Affected products
- Mandrakesoft Mandrake Linux: 9.2, 10.0, 10.1
- Mandrakesoft Mandrake Linux Corporate Server: 2.1
- PostgreSQL: from 7.3.0 before 7.3.8; from 7.4.0 before 7.4.6 — fixed in 7.3.8, 7.4.6
- Red Hat Enterprise Linux: 3.0
- RedHat Enterprise Linux Desktop: 3.0
- Trustix Secure Linux: 2.0, 2.1
How to fix
Upgrade to a fixed version: PostgreSQL 7.3.8, 7.4.6. Check the vendor advisory for mitigations.
References
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136300
- http://marc.info/?l=bugtraq&m=109910073808903&w=2
- http://security.gentoo.org/glsa/glsa-200410-16.xml
- http://www.debian.org/security/2004/dsa-577
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:149
- http://www.redhat.com/support/errata/RHSA-2004-489.html
- http://www.securityfocus.com/bid/11295
- http://www.trustix.org/errata/2004/0050
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17583
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11360
- https://www.ubuntu.com/usn/usn-6-1/
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136300
Get alerted when CVE-2004-0977 or the next vulnerability affects your stack