{"id":"CVE-2004-0381","aliases":["DSA-483","EUVD-2004-0381","GHSA-q6cx-wgqr-cmmx","RHSA-2004:569"],"status":"published","title":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the...","description":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.","severity":{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00628,"percentile":0.50359,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2004-04-06T04:00:00Z","modified":"2026-06-26T10:01:41Z","affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.6"}]}],"bundled":2},{"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":"mysql","product":"mysql"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11557","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.securityfocus.com/bid/9976","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15617","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.debian.org/security/2004/dsa-483","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200405-20.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:034","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-597.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ciac.org/ciac/bulletins/p-018.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108206802810402\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-569.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108023246916294\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0381","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q6cx-wgqr-cmmx"},{"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://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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0457","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0381","description":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.","status":"published","published":"2004-04-06T04:00:00Z","modified":"2024-08-08T00:17:14.402Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0381","description":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.","status":"published","published":"2004-04-06T04:00:00Z","modified":"2024-08-08T00:17:14Z","updated_at":"2026-11-03T01:15:19.621932Z"}],"ghsa":[{"id":"GHSA-q6cx-wgqr-cmmx","title":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the...","description":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.","status":"published","published":"2022-04-29T02:57:40Z","modified":"2023-01-30T05:02:33Z","updated_at":"2026-11-02T14:46:39.888016Z"}],"nvd":[{"id":"CVE-2004-0381","description":"mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.","status":"published","published":"2004-05-04T04:00:00Z","modified":"2026-06-16T22:05:31.623Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:00:49.729639Z"}],"osv":[{"id":"DSA-483","title":"mysql - insecure temporary file creation","status":"published","published":"2004-04-14T00:00:00Z","modified":"2026-03-09T01:00:49.100633Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"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"}]}}
