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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.0 | postgresql | 7.2.1-2woody6 | DSA-577-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-postgresql +10 | 7.3.8-2 | RHSA-2004:489 |
Advisories 2
- RHSA-2004:489 Red Hat Security Advisory: rh-postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-577-1 postgresql - symlink vulnerability Debian Security (DSA / DLA) · Mar 9, 2026
References
- 11295 vdb-entry
- DSA-577 vendor-advisory
- oval:org.mitre.oval:def:11360 vdb-entry signature
- MDKSA-2004:149 vendor-advisory
- script-temporary-file-overwrite(17583) vdb-entry
- 2004-0050 vendor-advisory
- GLSA-200410-16 vendor-advisory
- USN-6-1 vendor-advisory
- OpenPKG-SA-2004.046 vendor-advisory
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136300
- RHSA-2004:489 vendor-advisory