Slashdot Mirror


Security Holes In Google's Android SDK

Redon Buckeye writes "Google's Android software development kit is using several outdated and vulnerable open-source image processing libraries, some of which can be exploited to take complete control of mobile devices running the Android platform. From the article: 'Several vulnerabilities have been found in Android's core libraries for processing graphic content in some of the most used image formats (PNG, GIF, and BMP). While some of these vulnerabilities stem from the use of outdated and vulnerable open source image-processing libraries, other were introduced by native Android code that uses them or that implements new functionality.'"

12 of 77 comments (clear)

  1. yawn by QuantumG · · Score: 4, Insightful

    Security holes in beta software you say? Wow.

    --
    How we know is more important than what we know.
    1. Re:yawn by Anonymous Coward · · Score: 5, Insightful

      Security holes in beta software you say? Wow.

      That would be a valid retort if it weren't for Google's perpetual beta mentality.

    2. Re:yawn by Nullav · · Score: 4, Insightful

      They know better then to call newly written software done.
      So three and a half years is early in the development process? I guess that means Hurd's only 'slightly behind schedule'.
      Really, in the hands of Google, the 'beta' tag is only a way to keep things sounding 'hip and new' and to avoid liability when something screws up.
      --
      I just read Slashdot for the articles.
    3. Re:yawn by AmaDaden · · Score: 4, Insightful

      Did you hear what the plans are for android? It's an OS that is designed to fit nearly any phone hardware, to be configurable to anyones liking, AND can run home brewed Java apps. Four years is not a bad time, It is a MASSIVE undertaking. Personally I think that ALL software is severely under tested. It tends to be pushed out the door not because it's ready but because the higher ups want to start making money on it. How many times did you use software that is 'done' but swamped with bugs? That is beta software, even if they don't admit it.

  2. I'm not exactly sure how phone software works... by ZanySpyDude · · Score: 3, Interesting

    If this had been in the final version that was released, is it an easy fix for google or is it a pain in the ass for end consumers to get a fix/upgrade from google?

  3. Re:Re-using, Re-using, Not re-inventing the wheel, by QuantumG · · Score: 3, Insightful

    Re-implement it and you'll likely have the exact same problems as this.. or worse.

    --
    How we know is more important than what we know.
  4. Who The Hell Is Still Using BMP? by ewhac · · Score: 5, Funny

    Several vulnerabilities have been found in Android's core libraries for processing graphic content in some of the most used image formats (PNG, GIF an BMP)

    Having had the ignominious privilege of writing a BMP image parser some years ago, I can state without fear of meaningful contradiction that it's one of the worst image file formats ever devised by creatures claiming to be Man, and that it needs to die die die!

    PNG does everything BMP does, and does it better. Just throw away the BMP library and save yourself the maintenance headache. No one will miss it.

    Schwab

    1. Re:Who The Hell Is Still Using BMP? by totally+bogus+dude · · Score: 3, Funny

      But then we couldn't have fun watching images load from the bottom up! It looks so cool and is totally worth a few extra (mega)bytes!

  5. Re:Re-using, Re-using, Not re-inventing the wheel, by Sentry21 · · Score: 5, Insightful

    Re-implement it and you'll likely have the exact same problems as this.. or worse. Specifically, the 'worse' problem you'll have is compatibility with broken implementations and corrupted data.

    I've heard it said, as an example, that only 20% of the code in Gecko is to implement a reliable, standards-compliant rendering engine, and the other 80% is to implement workarounds for (sometimes horribly) broken HTML, and recover from what should rightfully be critical errors. I'm not sure if this statistic is accurate (or, if it was when I heard it, if it still is now); however, at a previous position, our (large-scale) software product, developed over the course of the last decade, large, complex, and convoluted, had a similar statistic. Over 80% of the code that we had in our core product was there to deal with bugs in previous code, bugs in other people's products, bugs in how different vendors implemented the standards (i.e. poorly), bugs with corrupted images, and so on.

    Think about that for a second; anyone can re-implement a PNG library by reading the specifications and learning how to do the math on the algorithms; there are probably people at Google who could write a complete PNG library in C inside of a week (they DO have some pretty brilliant people working for them). What they CAN'T do is go out and feed into that library all of the broken, corrupted, or just-a-little-bit-off PNG images that are out there on the web that require little tweaks and adjustments (or horrific workarounds) to process, and find all the fixes to all the glitches that end-users might see.

    The extensive experience that the libpng developers have had over the lifetime of the project cannot be simply re-implemented from a textbook. THAT is why simply re-writing it is impractical, and THAT is why code re-use is a good thing. Expand that from PNG images out to every other shared library in the project, and 'not invented here' syndrome turns simple and straightforward bllet-point requirements for Android into a large-scale programming project, and makes the whole thing impractical.
  6. Re:Re-using, Re-using, Not re-inventing the wheel, by AKAImBatman · · Score: 3, Informative

    For this type of problem? You bet your horse it is. Buffer overflow problems are so 1970's. Can we please move on?

  7. Already fixed by Zach978 · · Score: 5, Informative

    This is already fixed in m5-rc15 which was released yesterday...

    --

    "I told you a million times not to exaggerate!"
  8. that's why it's open source by nguy · · Score: 4, Interesting

    That's why people make software open source.

    I think the only thing that bothers me about Android is that the full source code has not been released yet, although Google claims they will be making that available.