CVE-2004-0418: serve_notify in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, does not properly handle empty data lin
63
This week
HIGH 10.0WATCHLISTDOWNGRADEDOWNGRADEDOWNGRADE
CVE-2004-0418 is a high-severity flaw (CVSS 10.0) affecting cvs, openpkg, propack. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
serve_notify in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, does not properly handle empty data lines, which may allow remote attackers to perform an "out-of-bounds" write for a single byte to execute arbitrary code or modify critical program data.
Why this priority
Critical severity
EPSS top 7%: very likely to be exploited
On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
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.
gentoo linux MITIGATE
Affected: 1.4
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.4
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.
openbsd openbsd MITIGATE
Affected: all versions · 3.4 · 3.5
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.4
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-0418?
cvs: downgrade or apply the listed mitigation; openpkg: downgrade or apply the listed mitigation; propack: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0418 being exploited?
CVE-2004-0418 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-0418 affect?
CVE-2004-0418 affects cvs, openpkg, propack. Severity is high (CVSS 10.0). serve_notify in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, does not properly handle empty data lines, which may allow remote attackers to perform an "out-of-bounds" write for a single byte to execute arbitrary code or modify cri
How urgent is CVE-2004-0418?
Priority 63/100. Critical severity; EPSS top 7%: very likely to be exploited; On your watchlist
Related CVEs
CVE-2022-29037MEDIUM 5.4UPGRADE Jenkins CVS Plugin 2.19 and earlier does not escape the name and description of CVS Symbolic Name parameters o
CVE-2020-2324HIGH 7.5UPGRADE Jenkins CVS Plugin 2.16 and earlier does not configure its XML parser to prevent XML external entity (XXE) att
CVE-2017-12836HIGH 7.5DOWNGRADEMITIGATE CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to execute arbitr
CVE-2012-0804HIGH 10.0DOWNGRADE Heap-based buffer overflow in the proxy_connect function in src/client.c in CVS 1.11 and 1.12 allows remote HT
CVE-2010-3846MEDIUM 6.9DOWNGRADE Array index error in the apply_rcs_change function in rcs.c in CVS 1.11.23 allows local users to gain privileg