Conectiva Security Announcement: MySQL

Written By
Web Webster
Web Webster
Jan 18, 2002
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT 
- --------------------------------------------------------------------------

PACKAGE   : MySQL
SUMMARY   : MySQL log file with world-readable permissions
DATE      : 2002-01-18 16:14:00
ID        : CLA-2002:455
RELEVANT
RELEASES  : 5.0, 5.1, 6.0

- -------------------------------------------------------------------------

DESCRIPTION
 MySQL is a very popular SQL database which is shipped by many linux
 distributions.
 
 The package shipped with Conectiva Linux 6.0 and older logs by
 default all queries made to the database to the /var/log/mysql file.
 This includes user creation, password changes via SQL commands and
 other queries. Our package incorrectly leaves the permissions of this
 file as world-readable (0644), thus allowing any user on the system
 access to potentially sensitive information.
 
 We believe this vulnerability[1,4] to be exclusive to our
 distribution of this package.
 
 Additionally, a few other problems[2,3] are also fixed in this
 update. Specifically:
 - logrotate now correctly restarts the server and rotates the logs.
 Previous packages failed to do that and the log file would just keep
 growing.
 - logging is now configurable via the /etc/sysconfig/mysql file. The
 default still has logging enabled, though.


SOLUTION
 We recommend that all MySQL users upgrade their packages.
 
 If an upgrade cannot be made at this time, please change the
 permissions of the log file manually:
 
 chmod 600 /var/log/mysql*
 chown mysql.mysql /var/log/mysql*
 
 
 REFERENCES
 1. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=4201
 2. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=4220
 3. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=3674
 4.
 http://distro.conectiva.com.br/pipermail/seguranca/2001-August/001870.html


DIRECT DOWNLOAD LINKS TO THE UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/MySQL-3.23.36-14U50_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/MySQL-3.23.36-14U50_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/MySQL-3.23.36-14U51_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/MySQL-3.23.36-14U51_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/MySQL-3.23.36-14U60_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/6.0/RPMS/MySQL-3.23.36-14U60_1cl.i386.rpm


ADDITIONAL INSTRUCTIONS
 Users of Conectiva Linux version 6.0 or higher may use apt to perform 
 upgrades of RPM packages:
 - add the following line to /etc/apt/sources.list if it is not there yet
   (you may also use linuxconf to do this):

 rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates

(replace 6.0 with the correct version number if you are not running CL6.0)

 - run:                 apt-get update
 - after that, execute: apt-get upgrade

 Detailed instructions reagarding the use of apt and upgrade examples 
 can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en


- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at 
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.