CVE-2004-0977: The make_oidjoins_check script in PostgreSQL 7.4.5 and earlier allows local users to overwrite files via a sym
22
Routine
LOW 2.1WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2004-0977 is a low-severity flaw (CVSS 2.1) affecting postgresql, mandrake linux, mandrake linux corporate server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
mandrakesoft mandrake linux MITIGATE
Affected: 9.2 · 10.0 · 10.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.2
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
mandrakesoft mandrake linux corporate server MITIGATE
Affected: 2.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
redhat enterprise linux MITIGATE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
redhat enterprise linux desktop MITIGATE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
trustix secure linux MITIGATE
Affected: 2.0 · 2.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0977?
postgresql: upgrade to 7.3.8, 7.4.6; mandrake linux: mitigate or apply the listed mitigation; mandrake linux corporate server: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0977 being exploited?
CVE-2004-0977 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0977 affect?
CVE-2004-0977 affects postgresql, mandrake linux, mandrake linux corporate server. Severity is low (CVSS 2.1). 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.
CVE-2023-5869HIGH 8.8UPGRADEDOWNGRADE A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through miss
CVE-2022-2625HIGH 8.0UPGRADEMITIGATE A vulnerability was found in PostgreSQL
CVE-2023-39417HIGH 7.5UPGRADEMITIGATE IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extsche
CVE-2017-12172MEDIUM 6.7DOWNGRADE PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20
CVE-2018-1115CRITICAL 9.1UPGRADEMITIGATE postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rot