Bug 158689 - CAN-2005-1636 mysql insecure temporary file creation
CAN-2005-1636 mysql insecure temporary file creation
Product: Fedora
Classification: Fedora
Component: mysql (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Tom Lane
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-05-24 16:46 EDT by Josh Bressers
Modified: 2013-07-02 23:05 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-12 23:58:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-05-24 16:46:27 EDT
+++ This bug was initially created as a clone of Bug #158688 +++

mysql_install_db in MySQL 4.x before 4.0.12 and 5.x up to 5.0.4 creates the
mysql_install_db.X file with a predictable filename and insecure permissions,
which allows local users to execute arbitrary SQL commands by modifying the
file's contents.

More information is in the full-disclosure post:
Comment 1 Tom Lane 2005-07-12 19:47:41 EDT
This does not affect FC3, only FC4, since we were still using MySQL 3.x at the
time and the faulty code is not in 3.x.
Comment 2 Tom Lane 2005-07-12 23:58:35 EDT
The plan for FC4 is to push mysql-4.1.12 which includes a fix for this.  (I intend to ship 4.1.12 in RHEL4 
QU2 as well, but let's get some testing in FC4 branch first.)

Note You need to log in before you can comment on or make changes to this bug.