CVE-2004-0977

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.

Published: 2005-02-09 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-0977 is rated Low Risk (16.5/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.09%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2004-0977

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-17 0.04% 0.09% +0.05%
2 2023-03-07 1.28% 0.04% -1.24%
3 2022-02-04 1.28%

Full EPSS history (3 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-0977

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
3.9 2.9 [email protected]

Weakness enumeration for CVE-2004-0977

OS Trackers for CVE-2004-0977

vendor priority summary link
gentoo normal CVE-2004-0977: 1 GLSA(s) (200410-16), 1 atom(s) (dev-db/postgresql); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2004-0977
redhat low https://access.redhat.com/security/cve/CVE-2004-0977
ubuntu medium CVE-2004-0977 medium priority: Ubuntu including 5 source packages (postgresql, postgresql-7.4, postgresql-8.0, postgresql-8.1, postgresql-8.2), 20 status rows across 4 suites (dapper, edgy, feisty, upstream): released 9, DNE 6, needs-triage 5. https://ubuntu.com/security/CVE-2004-0977

Affected software / configurations for CVE-2004-0977

Vendor Product Version Raw CPE
postgresql postgresql >= 7.3.0, < 7.3.8 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 7.4.0, < 7.4.6 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
mandrakesoft mandrake_linux 9.2 cpe:2.3:o:mandrakesoft:mandrake_linux:9.2:*:*:*:*:*:*:*
mandrakesoft mandrake_linux 9.2 cpe:2.3:o:mandrakesoft:mandrake_linux:9.2:*:amd64:*:*:*:*:*
mandrakesoft mandrake_linux 10.0 cpe:2.3:o:mandrakesoft:mandrake_linux:10.0:*:*:*:*:*:*:*
mandrakesoft mandrake_linux 10.0 cpe:2.3:o:mandrakesoft:mandrake_linux:10.0:*:amd64:*:*:*:*:*
mandrakesoft mandrake_linux 10.1 cpe:2.3:o:mandrakesoft:mandrake_linux:10.1:*:*:*:*:*:*:*
mandrakesoft mandrake_linux 10.1 cpe:2.3:o:mandrakesoft:mandrake_linux:10.1:*:x86_64:*:*:*:*:*
mandrakesoft mandrake_linux_corporate_server 2.1 cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:2.1:*:*:*:*:*:*:*
mandrakesoft mandrake_linux_corporate_server 2.1 cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:2.1:*:x86_64:*:*:*:*:*
redhat enterprise_linux 3.0 cpe:2.3:o:redhat:enterprise_linux:3.0:*:advanced_server:*:*:*:*:*
redhat enterprise_linux 3.0 cpe:2.3:o:redhat:enterprise_linux:3.0:*:enterprise_server:*:*:*:*:*
redhat enterprise_linux 3.0 cpe:2.3:o:redhat:enterprise_linux:3.0:*:workstation_server:*:*:*:*:*
redhat enterprise_linux_desktop 3.0 cpe:2.3:o:redhat:enterprise_linux_desktop:3.0:*:*:*:*:*:*:*
trustix secure_linux 2.0 cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
trustix secure_linux 2.1 cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:*

References for CVE-2004-0977

URL Tags
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136300 Issue Tracking
http://marc.info/?l=bugtraq&m=109910073808903&w=2 Third Party Advisory
http://security.gentoo.org/glsa/glsa-200410-16.xml Third Party Advisory
http://www.debian.org/security/2004/dsa-577 Patch Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:149 Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2004-489.html Broken Link
http://www.securityfocus.com/bid/11295 Patch Third Party Advisory VDB Entry Vendor Advisory
http://www.trustix.org/errata/2004/0050 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/17583 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11360 Broken Link
https://www.ubuntu.com/usn/usn-6-1/ Third Party Advisory
cvelogic Threat Intelligence