{"id":"CVE-2004-0457","aliases":["DEBIAN-CVE-2004-0457","DSA-540","EUVD-2004-0456","GHSA-8mmc-rxvx-8vhr","RHSA-2004:569"],"status":"published","title":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql...","description":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00515,"percentile":0.44109,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-08-18T00:00:00Z","modified":"2026-06-26T10:01:41Z","fixes":[{"ecosystem":"Debian:3.0","package":"mysql","fixed_in":["3.23.49-8.7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-2.3"}]}],"bundled":3}],"products":[{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://packages.debian.org/changelogs/pool/main/m/mysql-dfsg/mysql-dfsg_4.0.20-11/changelog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10693","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.debian.org/security/2004/dsa-540","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-597.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.ciac.org/ciac/bulletins/p-018.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17030","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0457","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8mmc-rxvx-8vhr"},{"url":"https://access.redhat.com/errata/RHSA-2004:569","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=58732","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=108779","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=112693","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=113960","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=115165","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=119442","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=124352","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=128852","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=129409","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=130348","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=133993","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=135387","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_569.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0381","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617187","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0381","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0381","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0388","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617190","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0388","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0388","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0457","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617209","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0457","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0457","description":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.","status":"published","published":"2004-08-19T04:00:00Z","modified":"2024-08-08T00:17:14.978Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0456","description":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.","status":"published","published":"2004-08-19T04:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.183327Z"}],"ghsa":[{"id":"GHSA-8mmc-rxvx-8vhr","title":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql...","description":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.","status":"published","published":"2022-04-29T02:57:45Z","modified":"2023-01-30T05:02:43Z","updated_at":"2026-11-02T14:46:42.161058Z"}],"nvd":[{"id":"CVE-2004-0457","description":"The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.","status":"published","published":"2004-09-28T04:00:00Z","modified":"2026-06-16T22:05:40.283Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.000028Z"}],"osv":[{"id":"DSA-540","title":"mysql-dfsg - insecure file creation","status":"published","published":"2004-08-18T00:00:00Z","modified":"2026-03-09T02:11:21.157697Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"RHSA-2004:569","title":"Red Hat Security Advisory: mysql security update","status":"published","published":"2024-09-17T01:14:34Z","modified":"2026-06-26T10:01:41Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
