CVE-2004-0397 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via stack-based buffer overflow in Subversion's time conversion during DAV2 or svn-protocol requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0397?

CVE-2004-0397 is a high-severity memory corruption vulnerability in n/a, published on 28 May 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow during the apr_time_t data conversion in Subversion 1.0.2 and earlier allows remote attackers to execute arbitrary code via a (1) DAV2 REPORT query or (2) get-dated-rev svn-protocol command.

Which versions are affected by CVE-2004-0397?

It affects 1 product.

Products include Subversion Subversion.

How do I fix CVE-2004-0397?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-0397 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0397 exists.

Public exploit code: 1 Metasploit module and 3 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2004-0397, GHSA-vwxm-8m4v-97wg.

Is CVE-2004-0397 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free