{"id":"CVE-2004-0397","aliases":["DEBIAN-CVE-2004-0397","EUVD-2004-0397","GHSA-vwxm-8m4v-97wg"],"status":"published","title":"Stack-based buffer overflow during the apr_time_t data conversion in Subversion 1.0.2 and earlier...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.7525,"percentile":0.99516,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-05-28T04:00:00Z","modified":"2026-10-21T15:47:27Z","exploits":[{"source":"exploitdb","id":"EDB-16284","title":"Subversion - Date Svnserve (Metasploit)","type":"dos","platform":"unix","date":"2010-08-07","verified":true,"url":"https://www.exploit-db.com/exploits/16284"},{"source":"exploitdb","id":"EDB-304","title":"Subversion 1.0.2 - 'svn_time_from_cstring()' Remote Overflow","type":"remote","platform":"linux","date":"2004-06-25","verified":true,"url":"https://www.exploit-db.com/exploits/304"},{"source":"exploitdb","id":"EDB-9935","title":"Subversion 1.0.2 - Date Overflow (Metasploit)","type":"remote","platform":"multiple","date":"2004-05-19","verified":true,"url":"https://www.exploit-db.com/exploits/9935"},{"source":"metasploit","id":"exploit/multi/svn/svnserve_date","title":"Subversion Date Svnserve","type":"exploit","platform":"BSD,Linux","date":"2004-05-19","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/svn/svnserve_date"}],"fixes":[{"ecosystem":"Debian:12","package":"subversion","fixed_in":["1.0.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"subversion","fixed_in":["1.0.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"subversion","fixed_in":["1.0.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"subversion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"subversion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"subversion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1"}]}]}],"products":[{"vendor":"subversion","product":"subversion"}],"references":[{"url":"http://www.securityfocus.com/bid/10386","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1748","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","report"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-May/021737.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://subversion.tigris.org/svn-sscanf-advisory.txt","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108498676517697\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/363814","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.linuxsecurity.com/advisories/fedora_advisory-4373.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200405-14.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.osvdb.org/6301","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/11675","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16191","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://security.e-matters.de/advisories/082004.html","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/11642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0397"},{"url":"https://github.com/advisories/GHSA-vwxm-8m4v-97wg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0397","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0397","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.","status":"published","published":"2004-05-28T04:00:00Z","modified":"2024-08-08T00:17:14.359Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0397","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.","status":"published","published":"2004-05-28T04:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.621932Z"}],"ghsa":[{"id":"GHSA-vwxm-8m4v-97wg","title":"Stack-based buffer overflow during the apr_time_t data conversion in Subversion 1.0.2 and earlier...","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.","status":"published","published":"2022-04-29T02:57:40Z","modified":"2023-01-30T05:02:42Z","updated_at":"2026-11-02T14:46:42.161058Z"}],"nvd":[{"id":"CVE-2004-0397","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.","status":"published","published":"2004-07-07T04:00:00Z","modified":"2026-06-16T22:05:33.587Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:49.729639Z"}],"osv":[{"id":"CVE-2004-0397","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.","status":"published","published":"2004-07-07T04:00:00Z","modified":"2026-04-10T03:35:44.113159Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0397","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.","status":"published","published":"2004-07-07T04:00:00Z","modified":"2026-10-21T15:47:27.550031511Z","updated_at":"2026-11-02T15:45:22.55978Z"}]}}
