First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 198988
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Buchholz <rbu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
mysql-5.0.44-r1.ebuild modified mysql ebuild text/plain Lukas Kuzmiak 2007-11-15 16:27 0000 2.05 KB Details
convert_search_mode_to_innobase.diff described patch patch Lukas Kuzmiak 2007-11-15 16:28 0000 3.35 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 198988 depends on: Show dependency tree
Bug 198988 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-12 23:23 0000
CVE-2007-5925 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-5925):
  The convert_search_mode_to_innobase function in ha_innodb.cc in the InnoDB
  engine in MySQL 5.1.23-BK and earlier allows remote authenticated users to
  cause a denial of service (database crash) via a certain CONTAINS operation
  on an indexed column, which triggers an assertion error.

------- Comment #1 From Robert Buchholz 2007-11-12 23:28:33 0000 -------
mysql herd, would mysql-community also be affected by this?

Is InnoDB a considered default setup?

------- Comment #2 From Robin Johnson 2007-11-12 23:52:18 0000 -------
Yup, both dev-db/mysql and dev-db/mysql-community are vulnerable, and InnoDB is
shipped enabled by default per the request of upstream.

The upstream bug notes the following as vulnerable:
4.1.20, 5.0.44, 5.1.23-BK (their development tip)
That's basically the latest in every tree (I'm sure 4.1.2[23] are vulnerable as
well, despite not being explicitly mentioned).

Furthermore the upstream bug has no fixes at all yet.

Hopefully they roll it into 5.0.50 and release soon (I've been waiting for
5.0.50 a long time now).

------- Comment #3 From Robert Buchholz 2007-11-13 01:34:10 0000 -------
Thanks for the info, setting A3 then.

------- Comment #4 From Lukas Kuzmiak 2007-11-15 15:05:13 0000 -------
patch was released for 5.0.45, also works with 5.0.44-r1 ebuild.
http://bugs.mysql.com/bug.php?id=32125

------- Comment #5 From Lukas Kuzmiak 2007-11-15 16:27:32 0000 -------
Created an attachment (id=136052) [edit]
modified mysql ebuild

------- Comment #6 From Lukas Kuzmiak 2007-11-15 16:28:02 0000 -------
Created an attachment (id=136053) [edit]
described patch

------- Comment #7 From Robin Johnson 2007-11-16 00:47:43 0000 -------
(From update of attachment 136052 [edit])
lukash: Please do not use src_unpack in mysql ebuilds like this, you exclude
the other patchs that are applied to the tree.

I'll have the new ebuilds out in 6-12 hours, I'm just doing testing on my
machines (ppc64/amd64/x86) before releasing. They are getting another patch
regarding $TMPDIR usage at the same time.

------- Comment #8 From Robin Johnson 2007-11-16 02:49:14 0000 -------
mysql-5.0.44-r2 is in the tree now, fixing upstream #32125 per this issue, as
well as upstream #30287 (usage of wrong $TMPDIR for filesorts).

Test instructions:
FEATURES="test userpriv" \
USE="berkdb perl ssl cluster extraengine" \
emerge mysql

Target stable keywords: alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86

------- Comment #9 From Robert Buchholz 2007-11-16 09:21:10 0000 -------
mips is also a target since they have a 4.X stable, which is also affected.

What about the community ebuild?

------- Comment #10 From Robert Buchholz 2007-11-16 09:27:09 0000 -------
(ahh, the "add" button is killing me!)

------- Comment #11 From Ferris McCormick 2007-11-16 13:27:54 0000 -------
Stable for sparc.  Runs my databases as expected (and mysqldump still works. :)
).

------- Comment #12 From Robin Johnson 2007-11-16 13:55:05 0000 -------
mysql-community is coming after I next sleep (it's ~arch only).

mips is way behind on their mysql keywording, the specifically dropped the 5.0
series long ago as they didn't want it, and there is bug 189223 open for them
to re ~arch 5.0.44-rc1.

------- Comment #13 From Robin Johnson 2007-11-16 13:56:51 0000 -------
oh, one bit of advise for those testing MySQL per my instructions, that test
takes ~45 minutes on a 2Ghz 2-way machine, and an hour on a 2Ghz 1-way box, so
set it running and go out for coffee ;-)

------- Comment #14 From Robin Johnson 2007-11-16 13:57:10 0000 -------
crap wrong button.

------- Comment #15 From Robert Buchholz 2007-11-16 14:12:42 0000 -------
(In reply to comment #12)
> mysql-community is coming after I next sleep (it's ~arch only).

Sleep well then :-)


> mips is way behind on their mysql keywording, the specifically dropped the 5.0
> series long ago as they didn't want it, and there is bug 189223 open for them
> to re ~arch 5.0.44-rc1.

I see. I'll leave them in CC though, even if it doesn't result into anything.

------- Comment #16 From Jeroen Roovers 2007-11-16 15:02:49 0000 -------
Stable for HPPA.

------- Comment #17 From Jurek Bartuszek 2007-11-16 19:29:21 0000 -------
x86 stable

------- Comment #18 From Robin Johnson 2007-11-16 21:48:04 0000 -------
stable for amd64, tested by me, approved by KingTaco.

------- Comment #19 From Raúl Porcel 2007-11-17 11:32:10 0000 -------
alpha/ia64 stable

------- Comment #20 From Tobias Scherbaum 2007-11-18 11:30:40 0000 -------
ppc stable

------- Comment #21 From Markus Rothe 2007-11-18 13:53:26 0000 -------
ppc64 stable

------- Comment #22 From Robert Buchholz 2007-11-18 14:19:56 0000 -------
glsa request filed for mysql. This still remains [ebuild] for the community
server.

------- Comment #23 From Pierre-Yves Rofes 2007-11-18 21:53:18 0000 -------
GLSA 200711-25. letting open until we have a safe mysql-community ebuild in the
tree.

------- Comment #24 From Robin Johnson 2007-11-19 04:12:40 0000 -------
mysql-community blocker: the 5.1 patch on the upstream bug causes
mysql-community to fail during compile, because the DB_UNSUPPORTED token is not
defined. I left a comment on the upstream bug, because it's not as simple as
defining it if nothing else in the codebase returns it.

------- Comment #25 From Robert Buchholz 2007-12-08 13:49:20 0000 -------
any update for community here?

------- Comment #26 From Jakub Moc (RETIRED) 2007-12-11 11:58:03 0000 -------
10:44:02 <+CIA-23> vapier * gentoo-x86/dev-db/mysql/ (mysql-5.0.44-r2.ebuild
mysql-5.0.44-r1.ebuild):
10:44:02 <+CIA-23> arm/s390/sh stable 

mips is plain hopeless and stuck w/ <=4.1.x (Bug 189223 ATM).

------- Comment #27 From Robin Johnson 2008-01-15 15:26:37 0000 -------
No update at all. Upstream even locked their bug so I can't access it anymore.

------- Comment #28 From Robin Johnson 2008-01-15 15:28:14 0000 -------
Err, no update for community-5.1 i mean.

For 5.0, 5.0.54 is now in the tree, but pmasked.

Sorry about the delay, this was a hard release to deal with.
The extras tarball contains 359k of new patches, of which a massive 217k was me
having to do the min/min -> MYSQL_MIN/MAX change by hand because of a large
number of rejects.

Lots of testing is appreciated, esp testing beyond the bundled testsuite.

------- Comment #29 From Robin Johnson 2008-01-25 08:59:01 0000 -------
per my comment left in bug 201669, this can go for arch testing now.

------- Comment #30 From Peter Volkov 2008-02-25 10:51:35 0000 -------
This bug does not affect 2008.0 snapshot, removing release@ from CC.

------- Comment #31 From Robin Johnson 2008-11-14 05:19:47 0000 -------
security: for mysql-community, 5.0.67 is in the tree now. 5.1.30 will fill that
major version gap after upstream releases it (earlier 5.1.x builds have other
issues). However I think you can close the bug now anyway. -community was only
~arch, so it doesn't need any GLSA updates.

------- Comment #32 From Pierre-Yves Rofes 2008-11-14 09:44:00 0000 -------
thanks, closing

First Last Prev Next    No search results available      Search page      Enter new bug