Slashdot Mirror


Dangerous Java Flaw Threatens 'Virtually Everything'

Marc Nathoni writes with a ZDet article about a critically dangerous hole in the Java Runtime Environment. Due to the ubiquitousness of Java, this could prove a serious security problem. "Australia's Computer Emergency Response Team (AusCERT) analyst, Robert Lowe, warned that anyone using the Java Runtime Environment or Java Development Kit is at risk. 'Delivery of exploits in this manner is attractive to attackers because even though the browser may be fully patched, some people neglect to also patch programs invoked by browsers to render specific types of content,' said Lowe."

323 comments

  1. And people called me paranoid by nimr0d · · Score: 4, Insightful

    When I told them NoScript was a great plugin.

    1. Re:And people called me paranoid by Anonymous Coward · · Score: 0, Informative

      you're right, except it has little to do with java ;)

    2. Re:And people called me paranoid by nimr0d · · Score: 5, Informative

      Except NoScript blocks Java from any unapproved pages, effectively making it have everything to do with this article ;)

    3. Re:And people called me paranoid by 3p1ph4ny · · Score: 4, Informative

      you're right, except it has little to do with java ;)
      Actually, NoScript has an option to block Java, Flash, and all other plugins. So it does, in fact, have something to do with Java.
    4. Re:And people called me paranoid by nimr0d · · Score: 1

      Good thing I'm talking about java, and NOT javascript.

    5. Re:And people called me paranoid by juancnuno · · Score: 1

      Not a troll, but what does NoScript have to do with Java?

    6. Re:And people called me paranoid by janrinok · · Score: 2, Informative

      http://noscript.net/

      NoScript blocks JavaScript, Java and other executable content.

      --
      Have a look at soylentnews.org for a different view
    7. Re:And people called me paranoid by Anonymous Coward · · Score: 1, Funny

      Shoosh! Good job I switched to Vista then :-)

    8. Re:And people called me paranoid by SimHacker · · Score: 1

      Just because you're right, doesn't mean you're not paranoid!

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    9. Re:And people called me paranoid by Anonymous Coward · · Score: 0

      Looks more like someone failed to click the "Post Anonymously" box... tsk tsk

    10. Re:And people called me paranoid by redcane · · Score: 0, Troll

      java is not javascript!

    11. Re:And people called me paranoid by nwbvt · · Score: 1

      Except since despite its ubiquity (and the fact that applets were one of Java's first uses), web pages are one of the rarest places to see Java apps. Most of what NoScript blocks is JavaScript, which has nothing to do with Java.

      --
      Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
    12. Re:And people called me paranoid by zero_offset · · Score: 1

      No, he's right, NoScript blocks both JavaScript and Java, separately. Although you're also right, these days Java is mainly a server-side thing, probably the one environment where all of it's great promises and then-unique capabilities are least useful. ("The ironing is delicious.")

      --

      Slashdot quality declines as the number of hot grits posts decreases. - Provolt's Law, Apr-09-2005

  2. How...useful. :/ by Kintar1900 · · Score: 5, Insightful

    Also, this exploit is browser independent, as long as it invokes a vulnerable Java Runtime Environment

    Okay, so which versions are vulnerable?

    1. Re:How...useful. :/ by radarjd · · Score: 3, Funny

      Okay, so which versions are vulnerable?

      The article sadly has little more information than the summary. It doesn't say which VMs, only that "exploit is browser independent, as long as it invokes a vulnerable Java Runtime Environment". In other words, the vulnerable VMs are vulnerable.

    2. Re:How...useful. :/ by shawnce · · Score: 5, Informative

      According to CVE-2007-2788 and CVE-2007-2789 any version of Java before "1.5.0_11-b03" and "1.6.x before 1.6.0_01-b06".

    3. Re:How...useful. :/ by CautionaryX · · Score: 1

      Forget about browsers... what about users of the JavaOS?

      I'd venture to say that most likely all versions of the JRE and JDK are vulnerable.

    4. Re:How...useful. :/ by bill_mcgonigle · · Score: 1

      Good ammo for my vendors who still require Java 1.4.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    5. Re:How...useful. :/ by Anonymous Coward · · Score: 0

      My java automatically is already updated to 1.6.0_01-b06 without my involvement.

  3. 'Virtually Everything' or 'Everything Virtual'? by Anonymous Coward · · Score: 5, Funny
    I think that

    Dangerous Java Flaw Threatens 'Virtually Everything' Should read

    Dangerous Java Flaw Threatens 'Everything Virtual' I mean, Java is just a freaking virtual machine, not the underpinnings of all laws of physics. I'm pretty sure my shoes and coffee mug are going to make it through this ordeal.
    1. Re:'Virtually Everything' or 'Everything Virtual'? by Anonymous Coward · · Score: 0

      Please note:

      When I read this, I was so shocked that I kicked my shoes against the table. My coffee mug fell off the table and my shoes are now cracked.

      You are wrong, this is a vile thread indeed.

    2. Re:'Virtually Everything' or 'Everything Virtual'? by Vulva+R.+Thompson,+P · · Score: 5, Funny

      I'm pretty sure my shoes and coffee mug are going to make it through this ordeal.

      Speak for yourself, some of us use Java in our coffee mugs. The upcoming patch is supposed to correct a number of leaks.

    3. Re:'Virtually Everything' or 'Everything Virtual'? by Anonymous Coward · · Score: 0

      The first time I read it I thought it said "Dangerous Lava Flow threatens virtually Everyone"

    4. Re:'Virtually Everything' or 'Everything Virtual'? by Mr.+Bad+Example · · Score: 1

      > I mean, Java is just a freaking virtual machine, not the underpinnings
      > of all laws of physics. I'm pretty sure my shoes and coffee mug are
      > going to make it through this ordeal.

      I don't know...I'm still pretty worried. Last night, I set some stuff out on the curb.

      This morning, it got garbage collected.

    5. Re:'Virtually Everything' or 'Everything Virtual'? by FLEB · · Score: 1

      Stuff? Where's this "stuff" you're speaking of? Sorry, I guess I just don't follow your reference.

      --
      Information wants to be free.
      Entertainment wants to be paid.
      You just want to be cheap.
    6. Re:'Virtually Everything' or 'Everything Virtual'? by MMC+Monster · · Score: 1

      I don't know about that. I saw that headline and laughed so hard that I vomited on my shoes.

      I'm going to go out and do some tests to make sure the gravitational constant hasn't changed...

      --
      Help! I'm a slashdot refugee.
    7. Re:'Virtually Everything' or 'Everything Virtual'? by vjmurphy · · Score: 1

      Sounds like you are using a software patch for a hardware problem. Wouldn't a non-leaky mug be better?

      --
      Vincent J. Murphy
      Spandex Justice
    8. Re:'Virtually Everything' or 'Everything Virtual'? by Ngarrang · · Score: 1

      Sounds like you are using a software patch for a hardware problem. Wouldn't a non-leaky mug be better? Oh, sure, blame the hardware!
      --
      Bearded Dragon
  4. FUD? by DrJonesAC2 · · Score: 2, Informative

    The article contains virtually no information about the exploit. "There's a vulnerability. And it's really scary" is about all I got out of this.

    1. Re:FUD? by hkgroove · · Score: 1

      Did Google recently hire a bunch of former White House spindoctors?

    2. Re:FUD? by Anonymous Coward · · Score: 0

      Yep, and MS releases a patch that causes some screwy behaviour solved by a reboot it gets tagged:

      microsoft, programming, security, theballmerpatch, scary

      Java flaw?

      java, security

      I don't know why I bother anymore.

    3. Re:FUD? by mhall119 · · Score: 1

      Here's the difference:

      Java was behaving badly, so it was patched.

      Windows was patched, now it is behaving badly.

      --
      http://www.mhall119.com
  5. Extraordinary claims require extraordinary proof by AKAImBatman · · Score: 5, Insightful

    Australia's Computer Emergency Response Team (AusCERT) analyst, Robert Lowe, warned that anyone using the Java Runtime Environment or Java Development Kit is at risk. "Java runs on everything: cell phones, PDAs, and PCs. This is the problem when you have a vulnerability in something so modular--it affects so many different devices.," said Gatford.

    No offsense, but that's a rather incredible claim. They're saying that no matter if you're running a JVM on the server, cell phone, applet, desktop, or just about any other environment, you're vulnerable? I'm sorry, I can't accept that without extraordinary proof to back up such extraordinary claims.

    Java was designed from the beginning with security in mind. Its security infrastructure has been tested for over a decade now. Any and all exploits have always been a flaw in the specific JVM or interface between the JVM and the OS. (Something which has been plauging browsers and other network-aware applications.) Now some security expert is saying that it doesn't matter what you're doing because Java as a whole is flawed?

    It seems more likely to me that they're blowing the whole thing out of proportion and thereby spreading FUD. It's more likely that it's yet another security hole in specific JVMs and someone here is expanding that to all of Java. I'll happily look at the evidence to the contrary as soon as it becomes available.

    Oh, and upgrades for Desktops is not too big of a deal. Java currently includes an autoupdater that should take care of the issue. All that's left is to deploy updates to servers, should these fellows actually prove that the language you're using somehow conveys a serious security through port 80. :-/
  6. Anyone have details? by StarEmperor · · Score: 1

    Does anyone have any details on this beyond "virtually everything is threatened?"

    1. Re:Anyone have details? by Geek+of+Tech · · Score: 4, Funny

      Among other things, it has been confirmed that cellphones, computers, handhelds, iPods, small children, toasters, garage door openers and SUV owners are all vulnerable to this flaw.

      The only device that isn't vulnerable to this is the Nintendo Wii. The theory is that the swinging of Wiimotes manages to sling the problematic code away from your device.

      If you think that your computer might be at risk, pick it up and start spinning in big circles. This might create enough force to dislodge any vicious code.

      --
      Stop the Slashdot effect! Don't read the articles!
  7. The sky is falling by MosesJones · · Score: 1

    Does anyone have a link to the actual "Google Security Team" report on the issue, or an announcement from them on having discovered the issue?

    The article rages about the whole universe being at risk (ignoring the fact that Java has had an auto-update mechanism for quite a while) but doesn't say which JVMs are at risk.

    I can't actually find ANYTHING else beyond the chicken licken article here on what the issue is.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:The sky is falling by dgun · · Score: 5, Informative

      Google Security Team

      I see at the top where they mention the Google security team. But the article quotes only someone named Chris Gatford from "penetration testing firm Pure Hacking" and someone from "Australia's Computer Emergency Response Team"

      AUSCERT ^ has issued something on this, but there is not many details. They claim the exploit is the ability for applets to escalate privileges.

      Also, someone asked, but here are the versions they claim are vulnerable, for windows and solaris.

      First vulnerability:
      * JDK and JRE 6
      * JDK and JRE 5.0 Update 10 and earlier
      * SDK and JRE 1.4.2_14 and earlier
      * SDK and JRE 1.3.1_20 and earlier

      Second vulnerability:
      * JDK and JRE 6
      * JDK and JRE 5.0 Update 10 and earlier
      * SDK and JRE 1.4.2_14 and earlier
      * SDK and JRE 1.3.1_19 and earlier

      And a link to the Aussie security alert

      --
      FAQs are evil.
    2. Re:The sky is falling by Anonymous Coward · · Score: 0

      The references in the two CVEs mentioned in the AUSCERT alert all seem to refer to the JPEG/BMP and ICC issue from mid May. If this is the same issue, does anyone know why Sun and AUSCERT would be talking about it now?

    3. Re:The sky is falling by jrumney · · Score: 1

      If this is the same issue, does anyone know why Sun and AUSCERT would be talking about it now?
      They're not, Slashdot is. You must be new around here if you find it surprising to be discussing old news.
  8. TFA is extremely vague by Aefix · · Score: 5, Insightful

    I'd say borderlining FUD. What help is it to tell us that there's some huge security bug without telling us what it is?

    1. Re:TFA is extremely vague by 14erCleaner · · Score: 1

      They're just following the Homeland Security model, as demonstrated earlier this week by FUD czar Michael Chertoff.

      --
      Have you read my blog lately?
  9. You forget... by greenreaper · · Score: 4, Funny

    What about the people using it to run nuclear reactors?

    1. Re:You forget... by Azar · · Score: 5, Funny

      Well, as long as they aren't using the nuclear reactor to browse warez sites, I think we will be fine.

    2. Re:You forget... by Anonymous Coward · · Score: 5, Interesting
      I'm pretty sure that Java's license explicitly states that it should not be used to run nuclear reactors. You might think I'm joking but from here:

      You acknowledge that Licensed Software is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. I'm not certain but I once heard someone say that languages like Lisp are used in nuclear facilities because they are quick, stable and can be analyzed mathematically to be proved 'correct.' The garbage collector causes Java to be none of these. Also, I think that since Lisp is interpreted, you can switch a program with another modified program without losing execution or control. Not too sure on the details of that though.
    3. Re:You forget... by Ambitwistor · · Score: 4, Insightful

      Lisp is traditionally garbage collected. I suppose you could modify a Lisp to operate without a GC, but you could probably modify Java the same way. Perhaps you're thinking of another language?

    4. Re:You forget... by Ambitwistor · · Score: 1

      Or perhaps Lisp's garbage collector is quick, stable, with mathematically provable behavior, and Java's is not?

      Still, I was under the impression that engineering software with critical real time constraints (which I would imagine nuclear plants to have) tends to avoid the unpredictability of GCs. Though I am sure there has been work on realtime GCs with guaranteed behavior, somewhere, ...

    5. Re:You forget... by wol · · Score: 3, Informative

      While Lisp might be used for nuclear facilities, it is not because of lack garbage collection or because it is only interpreted. Lisp has garbage collection and while development typically takes place using the interpreter, the production program is typically compiled. I don't know Java, so I can't start a rational flamewar over why Lisp is better. (Irrational flamewars, on the other hand...)

      --
      If you think deeply enough, you will have no single direction for your outrage.
    6. Re:You forget... by JesseMcDonald · · Score: 5, Informative

      I'm not certain but I once heard someone say that languages like Lisp are used in nuclear facilities because they are quick, stable and can be analyzed mathematically to be proved 'correct.' The garbage collector causes Java to be none of these. Also, I think that since Lisp is interpreted, you can switch a program with another modified program without losing execution or control. Not too sure on the details of that though.

      1. Lisp also makes extensive use of garbage collection, although there are real-time garbage collection algorithms for it.
      2. Most variants of Lisp are compiled, not interpreted.
      3. Despite being compiled, you can indeed update a Lisp program on-the-fly. This is accomplished through partial recompilation and dynamic linking.
      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    7. Re:You forget... by timster · · Score: 5, Insightful

      Commercial nuclear reactors, at least in the US, are controlled via relays, not integrated circuits. The control room for a nuclear plant looks a lot like the array of switches and dials on the spacecraft in the movie Apollo 13, scaled up to fill a large room. You might see some more modern technology used for recording or monitoring purposes, but the fundamental operations are not based on anything as unreliable as software.

      --
      I have seen the future, and it is inconvenient.
    8. Re:You forget... by MenTaLguY · · Score: 4, Insightful

      There is no single standard behavior for Lisp garbage collection, nor even really is "Lisp" a single language. It's a wild forest of various implementations and dialects, some of them confederated under the Common Lisp specification.

      --

      DNA just wants to be free...
    9. Re:You forget... by glwtta · · Score: 1

      The garbage collector has an impact on the correctness of a program now? Is there any limit to the evils of the Java garbage collector?

      --
      sic transit gloria mundi
    10. Re:You forget... by computational+super · · Score: 5, Funny
      I don't know Java, so I can't start a rational flamewar over why Lisp is better.

      Lisp is preferred in high-security installations (such as nuclear generators) because it's an extra layer of security. Even if a hacker can breach the outer defences, no actual human being can comprehend a Lisp program, so there's no danger of the hacker doing any damage.

      --
      Proud neuron in the Slashdot hivemind since 2002.
    11. Re:You forget... by Rocky · · Score: 1

      D'oh!

      Garbage collection was originally developed to handle orphaned cons'ed list elements in LISP programs.

      The original CACM Baker collector paper used Lisp as its target language.

      --
      "I'm an old-fashioned type of guy. I worship the Sun and Moon as gods. And fear them."
    12. Re:You forget... by Anonymous Coward · · Score: 0

      Don't worry, most nuclear reactor computer programs were coded by the lowest bidder and run on Windows 3.1 in Visual Basic, and that version of windows doesn't support the latest java runtime, so we're perfectly safe...

    13. Re:You forget... by ackdesha · · Score: 1

      True! Emacs Lisp of all things. Try it...
      M-x nuclear-mode

    14. Re:You forget... by nasch · · Score: 2, Insightful

      I'm not certain but I once heard someone say that languages like Lisp are used in nuclear facilities because they are quick, stable and can be analyzed mathematically to be proved 'correct.' The garbage collector causes Java to be none of these. I don't know enough about mathematical proofs of software to comment on that, but I don't believe the GC causes Java to be either unstable or slow. What it does is cause it to be unpredictable - execution could pause at any time for GC to take place.
    15. Re:You forget... by pclminion · · Score: 1

      You might see some more modern technology used for recording or monitoring purposes, but the fundamental operations are not based on anything as unreliable as software.

      I'm not sure I follow. Are you saying that hardware solutions are robust and software can never be? A hardware machine can have "bugs" in it just as easily as software can. It is protected against certain kinds of failures (RAM suddenly going bad, for instance) but that doesn't mean it can't be incorrectly designed.

      Of course, I agree that there are very good reasons for such facilities to be electromechanically controlled instead of controlled by software, but I took issue with the implication that a system must be flawless just because it's build of atoms instead of bytes.

    16. Re:You forget... by Anonymous Coward · · Score: 0

      but the fundamental operations are not based on anything as unreliable as software.

      Instead, they are based on people, which are always far more reliable than software.

    17. Re:You forget... by iminplaya · · Score: 1

      OMG! They use commodity products to run nuclear reactors??

      --
      What?
    18. Re:You forget... by Anonymous Coward · · Score: 0

      They left it out for Microsoft's .NET If you want software to crash a nuclear reactor, better leave it for those that do it best!

    19. Re:You forget... by Anonymous Coward · · Score: 0

      garbage collector has an impact on the correctness of a program At least the real-time type of correctness.
    20. Re:You forget... by Anonymous Coward · · Score: 0

      >I'm not sure I follow. Are you saying that hardware solutions are robust and software can never be?

      Hardware solutions of the type used in nuclear plant control are far simpler than any of the typical hardware found in general purpose computers. Think on the order of "dozens" of mechanical switched and relays, all of which can be routinely inspected, as opposed to "billions" of transistors on integrated circuits.

      Nuclear reactor control mechanisms are a much simpler, much more brute force operation than most people seem to understand. Gravity and water pressure, not logic and gates.

    21. Re:You forget... by Anonymous Coward · · Score: 0

      > Or perhaps Lisp's garbage collector is quick, stable, with mathematically provable behavior, and Java's is not?

      {{cite}}. The only thing more annoying than a lisp weenie is an ignorant lisp weenie.

      And java's GC has advanced more than a little bit since it was first designed.

    22. Re:You forget... by pclminion · · Score: 1

      Nuclear reactor control mechanisms are a much simpler, much more brute force operation than most people seem to understand. Gravity and water pressure, not logic and gates.

      I think you're not giving such systems enough credit. If a mechanical system always does X whenever conditions A and B are met, then that's logic, IMO.

    23. Re:You forget... by SwordsmanLuke · · Score: 1

      Actually, I believe the reason LISP is preferred in nuclear facilities is because of LISP's ability to modify programs at runtime without stopping them. LISP's eval command allows program patches to be applied on the fly, which is a very Good Thing when you're dealing with a system that absolutely cannot be turned off or rebooted. Leastwise, not without "rebooting" a good portion of the local landscape as well.

      --
      Any plan which depends on a fundamental change in human behavior is doomed from the start.
    24. Re:You forget... by blofeld42 · · Score: 1

      ...In that case we're doomed.

    25. Re:You forget... by jason8 · · Score: 3, Funny

      Have you heard of the major Lisp nuclear controller hack of a few years ago? Apparently, hackers somehow managed to get into a nuclear reactor site and make a copy of the top-secret Lisp program used to control the reactor. I can't post the entire program for security reasons, but I will post the last page:

      (Imagine a page full of right-parens)

    26. Re:You forget... by Anonymous Coward · · Score: 0

      I guess it's true, fags do talk with LISP. You do realize that there's not really a standard method of GC for LISP, right? Whereas there is in Java? Of course you didn't. You just decided to speak without thinking, and that's where you wound up.

      Hope mommy is proud, dumbfuck.

    27. Re:You forget... by kabdib · · Score: 4, Funny

      Low tech is better.

      Those relays are powered by *steam*, and serve only to control arms in the corridor outside the control room which raise and lower colored flags. Mesopotamian runner-slaves note the configuration of the flags and carry messages to more slaves stationed near the reactor core who in turn are responsible for raising and lowering the control rods, who man the coolant pumps, and in a pinch, who sacrifice goats to the altar of O'krap, the God of Reactor Meltdowns.

      Speaking tubes were tried once ("Ahoy! More coolant on the starboard pile, and hoist up control rod three!") but finding reactor operators who knew Urdu was too difficult.

      The Nuclear Safety Council is considering a move to systems based on "electrics," but the committee responsible for this investigation has been unable to locate the inventors B. Franklin and T. Edison.

      --
      Any sufficiently advanced technology is insufficiently documented.
    28. Re:You forget... by Rakishi · · Score: 1

      Commercial nuclear reactors are also all over 20 years old, the youngest started being built in '77 (the vast majority started construction in the 60s). They have Apollo era technology because they were all designed when that was top of the line technology.

    29. Re:You forget... by Anonymous Coward · · Score: 0

      that sounds a lot more feasible an explanation to me, especially if I swing Occam around and observe that the control rooms of UK nuclear reactors certainly have a lot of digital systems in place for fundamental parts of the control loop. The monitoring systems are kinda vital if, when they crash, the operators don't notice the core temperature running away and alerts that the cooling systems are failing... and I don't think the UK nuclear regulators are particularly less safety conscious than their US equivalents. Now, whilst I've seen plenty of monitors and display panels in control rooms, though, I've never seen the familiar green and blue blobby Billyware...

    30. Re:You forget... by Pinkybum · · Score: 1

      I've worked on a lot of nuclear processing plants and many of the control systems were controlled by PLC's containing integrated circuits. Safety systems however would never use software they would always use hardwire interlocks to ensure safe operation. So fundamentally it is OK if you are controlling the plant through software but not relying on it for the safety of the system.

    31. Re:You forget... by Ksevio · · Score: 1

      I used that quote from the license a few years ago when my professor was insisting that we might need to write code for a nuclear facility some day so we should make our code fool proof. Showed her!

    32. Re:You forget... by GiMP · · Score: 1

      Other reasons for using LISP in a reactor:
      1. Nuclear reactors in the US were built in the 60's and 70's.
      2. LISP was the language of choice for artifical intelligence. It would make sense at the time to hire the best and brightest AI researchers to build the software for the nuclear reactors.
      3. LISP relates very closely to lambda calculus, which would likely have been vastly familiar to those involved in the design of a nuclear reactor. It is likely that mathematicians and scientists were involved in the development process, and their formulas were easily translated to LISP.

      As for modern reactors, I wouldn't doubt if LISP was used as a matter of maintaining a standard -- plus, the reasons above are still perfectly valid.

    33. Re:You forget... by Doctor+Memory · · Score: 1

      I am sure there has been work on realtime GCs with guaranteed behavior, somewhere, ... Look, here's some now!
      [ Link references IBM's Metronome project, which permits Java apps to provide deterministic scheduling and guaranteed response times down to ~1ms. ]
      --
      Just junk food for thought...
    34. Re:You forget... by TemporalBeing · · Score: 1

      can be analyzed mathematically to be proved 'correct.'
      What do you mean by 'correct'? If you mean it will guarantee that every compilation of the code by any compiler will result in the same exact executable? Then no. The only language that can really be proven correct in that manner is Assembly. Not even C qualifies. This is why certain kinds of programs are written in pure assembly for security purposes - so that the program can be proven to be 100% what the source code says it will be, which can then be proven to be 100% what the author intended it to be, and if there is a disconnect then the program is reworked until that disconnect is fixed.
      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    35. Re:You forget... by Doctor+Memory · · Score: 0, Flamebait

      Speaking tubes were tried once ("Ahoy! More coolant on the starboard pile, and hoist up control rod three!") but finding reactor operators who knew Urdu was too difficult. Bah! That was just the excuse they used to try to bring in cheap Sanskrit-speaking labor from overseas!
      --
      Just junk food for thought...
    36. Re:You forget... by jrumney · · Score: 1

      Even if a hacker can breach the outer defences, no actual human being can comprehend a Lisp program, so there's no danger of the hacker doing any damage.

      I think you're mixing up Lisp with Perl.

    37. Re:You forget... by Anonymous Coward · · Score: 0

      Lisp is preferred in high-security installations (such as nuclear generators) because it's an extra layer of security. Even if a hacker can breach the outer defences, no actual human being can comprehend a Lisp program, so there's no danger of the hacker doing any damage.

      Yes, that's the well-established principle of Defense in Depth of Parentheses....

      - T

    38. Re:You forget... by Roydd+McWilson · · Score: 1

      3. LISP relates very closely to lambda calculus, which would likely have been vastly familiar to those involved in the design of a nuclear reactor. It is likely that mathematicians and scientists were involved in the development process, and their formulas were easily translated to LISP.

      DOES NOT COMPUTE. Why would lambda calculus be "vastly familiar" to nuclear physicists and engineers? They deal with completely different areas of math. LISP isn't designed for numerical formulas, either, it's designed for symbolic manipulation. FORTRAN would have been a more natural choice for scientists and engineers doing numerical stuff. However, it's more typically used for simulation than control.

      --
      THE NERD IS THE COMPUTER.
    39. Re:You forget... by Ambitwistor · · Score: 1

      Or perhaps Lisp's garbage collector is quick, stable, with mathematically provable behavior, and Java's is not? To all the obnoxious knee-jerkers out who replied to my post: the above is not a rhetorical question, it's an actual question. I don't know anything about Lisp vs. Java garbage collection, and I don't program in either language. I was just speculating why the original poster claimed that Lisp was suitable for nuclear power plants while Java wasn't, when both languages are garbage collected. Indeed, my first guess was that the OP was simply misremembering which language it was, and that they don't use Lisp for nuclear power plants. Then it occurred to me that Lisp might have a better GC. I have no idea. Sheesh. Grow up, will you?
    40. Re:You forget... by inertia187 · · Score: 0

      Commercial nuclear reactors, at least in the US, are controlled via relays, not integrated circuits. Nuclear reactors in Soviet Russia, however, appear to be afflicted with amusing juxtapositions of the aforementioned situation.
      --
      A programmer is a machine for converting coffee into code.
    41. Re:You forget... by laejoh · · Score: 0

      Steam? Luxury! Seems to me those runner-slaves aren't from Mesopotamia but from Yorkshire :)

    42. Re:You forget... by treeves · · Score: 1
      Sheesh. Grow up, will you?

      The original title says it: "You forget..." In this case, you forgot that this is Slashdot.

      --
      ...the future crusty old bastards are already drinking the Kool-Aid.
    43. Re:You forget... by cortana · · Score: 1

      Besides, which implementations of Lisp and Java are we comparing the garbage collectors of?

  10. use Fedora 7 by r00t · · Score: 1

    The browser plug-in is based on gcc.

  11. This is one time you should RTFA by Anonymous Coward · · Score: 0

    There is enough meat in this article to make a whole stack of boca burgers.

  12. For the Very Low Price of .... by slas6654 · · Score: 2, Funny

    ...Pure Hacking will provide a complete explanation of the vulnerability.

    For an additional undetermined sum, Pure Hacking will offer an ambiguous and nefarious fix for the vulnerability.

  13. And how? by khasim · · Score: 3, Interesting
    I'm not seeing ANYTHING there aside from melodramatic hyperbole.

    "It would be an extremely difficult and laborious process for an organization trying to patch Java Runtime across the enterprise," he said.

    WARNING! WARNING! WARNING! WARNING! WARNING!

    Wouldn't you just roll it out the same as with any other patch?

    Without any more information and judging from comments such as that, I'm going to say that this "threat" will soon be found to be nothing. Just more Internet hype from someone trying to make a name for himself.
    1. Re:And how? by cnettel · · Score: 1

      One issue is that several (Java-based) applications tend to roll their own version of the JRE for "convenience". On the other hand, those apps hopefully do not use Java sandboxing to load arbitrary code safely from the net.

    2. Re:And how? by ajs · · Score: 3, Informative

      Wouldn't you just roll it out the same as with any other patch? Yes you would. Which means, a full release cycle. Most enterprises (a catch-all phrase that usually maps to the largest corporate environments, involving thousands of employees) support a range of in-house and 3rd party applications, utilities and infrastructure tools. QA on a release cycle for desktops can cost hundreds of thousands of dollars in employee time and delayed projects, but to perform the release any more cavalierly can result in even more damage.

      Most folks who've worked in small-to-medium businesses or less critical environments (such as education) simply can't comprehend the hell that is trying to coordinate a release to such a large community.
    3. Re:And how? by Basje · · Score: 1

      No, because, sadly, many applications require a specific version of the javaVM. At university we had a vpn solution that only worked with 1.4.3, although 1.5 was already released.

      Somehow I doubt the situation has changed much.

      --
      the pun is mightier than the sword
    4. Re:And how? by duffbeer703 · · Score: 1

      You would, except that even minor updates frequently break Java applications.

      Because of that, the Sun installers don't remove previous versions of Java -- so the old stuff this still there & still vulnerable, unless you script something to remove it.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    5. Re:And how? by aled · · Score: 1

      No, because, sadly, many applications require a specific version of the javaVM. At university we had a vpn solution that only worked with 1.4.3, although 1.5 was already released.

      Somehow I doubt the situation has changed much.


      It hasn't, mainly because Java 1.4.3 never existed.
      --

      "I think this line is mostly filler"
  14. here is the security flaw by Anonymous Coward · · Score: 3, Interesting
    1. Re:here is the security flaw by Cheesey · · Score: 1

      I'm pretty sure this is it:

      That's a different flaw in Java Web Start.

      Right now, in this topic, I can see three possible links to Java flaws that "could be it". It's great that contributors to this topic have been able to dig up these links, but really, the original article should have included some details about the exploit so that we would all be in no doubt about what it actually involves. As it is, both the submission and the ZDnet article include no details at all. Nothing. What's the point of that? It's about as effective as raising the "terror alert" to "critical".

      Seems that the flaw is most likely this one: http://www.auscert.org.au/render.html?it=7664 - it's an image decoding bug.

      --
      >north
      You're an immobile computer, remember?
  15. One Huge Problem by Anonymous Coward · · Score: 3, Insightful

    One huge problem I see with this is that not only are users generally unaware of what JRE/JDK they're using, they may not even know that they're using one at all. Some software like to install their own JRE version, so a user might have three or more different versions spread around the system, which needs rooting out (I suggest "c:\>dir rt.jar /S" on windows machines)

    1. Re:One Huge Problem by Anonymous Coward · · Score: 0

      So... I found 6 versions of the JVM, going back to 1.5.01. Can I just nuke all the old versions and keep just 1.6.01? Is there a way to find out which programs use which JVMs?

    2. Re:One Huge Problem by enos · · Score: 1

      Some software like to install their own JRE version, so a user might have three or more different versions spread around the system, which needs rooting out (I suggest "c:\>dir rt.jar /S" on windows machines)

      Who cares? If you install a program with its own JRE I bet you that program isn't going to be running as an applet. Normal Java programs have a MUCH bigger sandbox. You don't need any buffer overflows to access the filesystem, you just go and open a file like any other program would.

      All the somewhat recent Sun JREs also have an auto update mechanism. It's annoying at times, but if you disable it then at least you know you're using a JRE, eh?

      --
      boldly going forward, 'cause we can't find reverse
  16. Re:Simplest solution to this and all future bugs by ukatoton · · Score: 2, Insightful

    Java != Javascript

    If you're paranoid, at least disable the right thing.

  17. More information by greenreaper · · Score: 2, Informative

    This CNET article has more information. There is a vulnerability report at Sun. It is fixed in JDK and JRE 5.0 Update 10 or later, SDK and JRE 1.4.2_13 or later and SDK and JRE 1.3.1_19 or later.

  18. That article by Rik+Sweeney · · Score: 0, Troll

    was nearly as underwhelming as Microsoft's E3 showing

    Pow, Right in the kisser!

  19. Ubiquitousness? by iBod · · Score: 3, Funny

    >>Due to the ubiquitousness of Java, this could prove a serious security problem.

    Ah! That would be 'ubiquity' then?

    FFS editors!

    1. Re:Ubiquitousness? by LMacG · · Score: 1

      Merriam-Webster seems to be of two minds on this subject.

      --
      Slightly disreputable, albeit gregarious
    2. Re:Ubiquitousness? by Anonymous Coward · · Score: 0

      Ah! That would be 'ubiquity' then?

      I think you mean 'ubiqitousnessfulitude'.

    3. Re:Ubiquitousness? by iBod · · Score: 1

      Merriam-Webster is simply following the trend of dumbing-down the English language.

      Dumb people think their words carry more weight if they add a few syllables.

    4. Re:Ubiquitousness? by value_added · · Score: 1

      Ah! That would be 'ubiquity' then?

      Maybe the poster was trying to be ironical?

    5. Re:Ubiquitousness? by Anonymous Coward · · Score: 0

      I prefer "ubiquitositudity."

    6. Re:Ubiquitousness? by iiii · · Score: 1

      Your pushy persnickety perspicaciousness is tryannical! Linguistical opressor!!
      Don't you know that words want to be free?? Free to promisciously commingle with superfluous
      suffixal partners of their choosing? Of course, some editors around here might be giving them
      a little too much freedom...
      </jokey-joke>

      --
      Light cup, beer drink, thin so chain, neck turtle fat, man I won't say it again
    7. Re:Ubiquitousness? by Anonymous Coward · · Score: 0

      Moderation Totals: Funny Strange=1, Funny Ha-ha=1, Dumb=Buffer Overflow

  20. Re:Simplest solution to this and all future bugs by The+MAZZTer · · Score: 1

    About a page up, someone mentions that the NoScript Firefox extension can block Java applets, which is probably a more convenient choice rather than disabling Java all together.

    Another point for Firefox! Against IE at least.

  21. Re:Simplest solution to this and all future bugs by Anonymous Coward · · Score: 0

    I was about to reply then realised I'd been trolled!

  22. Useless Article by TALlama · · Score: 1

    Could they manage to say less in this article? There's no reference to what the flaw is, how bad it is; anything. The mention that Google Engineers found it, and then some analysts talk about how it could be a problem for all browsers that have a JVM, which sounds analysty and most likely wrong.

    I did a search on Google News and came up with nothing BUT this article.

    Anyone have anything more concrete?

    --

    - The Amazina Llama

  23. The Fearmongering... by decipher_saint · · Score: 1
    Having read what little there was in the article, can ANYone substantiate or explain the risks here?

    Pure Hacking's Gatford said the problem is compounded by the slim chance of an enterprise patching Java Runtime vulnerabilities.

    "It would be an extremely difficult and laborious process for an organization trying to patch Java Runtime across the enterprise," he said.

    I agree, but, since when has patching been easier on something else?

    Australia's Computer Emergency Response Team (AusCERT) analyst, Robert Lowe, warned that anyone using the Java Runtime Environment or Java Development Kit is at risk.

    Is... is that a threat? A threat from a bogeyman waving a "The End of the Java World is Nigh" sign?
    --
    crazy dynamite monkey
    1. Re:The Fearmongering... by lena_10326 · · Score: 1

      Pure Hacking's Gatford said the problem is compounded by the slim chance of an enterprise patching Java Runtime vulnerabilities.

      "It would be an extremely difficult and laborious process for an organization trying to patch Java Runtime across the enterprise," he said.

      I agree, but, since when has patching been easier on something else?

      I think it's easier among corporations, where there's likely to be an IT group and an inventory of hardware. If they're deploying java, then they're more likely to be setup to maintain updates. They already have a maintenance infrastructure.

      It's the cell and home user I would be concerned about. They don't know what they have or why it's important to update.

      --
      Camping on quad since 1996.
    2. Re:The Fearmongering... by davecb · · Score: 1

      Any serious enterprise will have a patch policy and process, if only a spinal reflex to "patchadd /tmp/jre-6ui-something" from their sysadmin (;-))

      Mere humans can click the big "Free Java Download" button at java.com.

      Some, but not all, telephone users will get a free call to the update center.

      --dave

      --
      davecb@spamcop.net
  24. Re:Simplest solution to this and all future bugs by Nadir · · Score: 2, Insightful

    Java != Javascript

    How many times have we seen this comment...

    --
    --
    The world is divided in two categories:
    those with a loaded gun and those who dig. You dig.
  25. Original AusCERT by didiken · · Score: 5, Informative

    It looks like AusCERT has published on their page about this:

    Quoted from
    AL-2007.0071 -- [Win][Linux][Solaris] -- Sun Java Runtime Environment vulnerability allows remote compromise

          1. Impact

          A buffer overflow vulnerability in the image parsing code in the Java
          Runtime Environment may allow an untrusted applet or application to
          elevate its privileges. For example, an applet may grant itself
          permissions to read and write local files or execute local
          applications that are accessible to the user running the untrusted
          applet.

          A second vulnerability may allow an untrusted applet or application to
          cause the Java Virtual Machine to hang.

          Sun acknowledges, with thanks, Chris Evans of the Google Security
          Team, for bringing these issues to our attention.

          These issues are also referenced in the following documents:

          CVE-2007-2788 at
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE- 2007-2788

          CVE-2007-2789 at
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE- 2007-2789

    1. Re:Original AusCERT by AKAImBatman · · Score: 5, Informative

      Oh good grief, is that all it is? A buffer overflow in images that only affects desktops and servers supporting image uploads that are not running the latest version of a given JVM? What happened to the spreading to PDAs and cell phones, the problem for all users worldwide, the end of things and mankind himself!?!

      Bunch of FUD-spreading fear-mongers. Hrumph.

      Oh, and Sun wouldn't have had this problem if they'd used pure Java code rather than relying on an existing library.

    2. Re:Original AusCERT by Kintar1900 · · Score: 1

      First of all, thanks to the OP for the link to AusCERT. Very, very helpful!

      Oh good grief, is that all it is? A buffer overflow in images that only affects desktops and servers supporting image uploads that are not running the latest version of a given JVM?

      Looks to me like the major problem is for embedded devices, where the update isn't easy. All you'd have to do is create a web page with an applet that displays images, then custom-craft a JPG file to exploit the weakness. Remember, applets run on the client's VM, so the mobile/embedded device would be the one executing the attacking code, not the web server. Viola, anyone you can entice into viewing your web page has just been breached.

      Granted, not /quite/ the gloom and doom of the article, but still a major, valid security hole.

    3. Re:Original AusCERT by jimbojw · · Score: 2, Interesting

      I thought one of the big selling points of Java (over C++ back in the day) was that it would be immune to buffer overflows due to it's object representation and garbage collection mechanism. Was that just hype?

    4. Re:Original AusCERT by AKAImBatman · · Score: 5, Informative

      Looks to me like the major problem is for embedded devices, where the update isn't easy.

      No, it doesn't. First off, I guarantee you that J2ME implementations do NOT use the same parsing library as the desktop JVM. It's far too heavyweight. Add to that fact that the embedded implementations are written by the phone vendor, significantly decreasing the risk.

      Secondly, J2ME does not support JPEGs or BMPs. The standard only supports PNGs. If you want to open JPEGs, you have to use a pure-Java decoder. (Which would not be vulnerable.)

      Thirdly, Java applet support is extremely limited in Symbian devices; the only devices I'm aware of that support applets. It's basically Java ME + a few extra APIs to bring it up to Java 1.1 standards. It's doubtful that these VMs even contain the APIs that are being exploited here.

      First of all, thanks to the OP for the link to AusCERT. Very, very helpful!

      Oh dear, where are my manners? I'd also like to thank the poster for finding the relevant AusCERT article. Without it, we'd still be at the FUD level. :-)
    5. Re:Original AusCERT by AKAImBatman · · Score: 4, Insightful

      No, it's not hype. Problems like this actually highlight Java's features all that much more.

      The problem in this case is that Sun used a native library to do the image parsing rather than writing a pure-Java equivalent. This shortcut ended up being a costly mistake that has resulted in a variety of holes caused by that library. If Sun simply rewrote the code in Java (which wouldn't be hard; only time consuming), the problems would go away.

    6. Re:Original AusCERT by profplump · · Score: 1, Funny

      Oh, and Sun wouldn't have had this problem if they'd used pure Java code rather than relying on an existing library.

      Yes. If only Sun would toss out all the C and re-implement their JVM in Java. How you'd launch the Java-based JVM is not clear, but once you got it going you'd never have to worry about buffer overflows again.

    7. Re:Original AusCERT by Kintar1900 · · Score: 1

      Well, I have to admit that my knowledge of the mobile edition is severely lacking; I'm used to developing for full-fledged servers. After re-reading the AusCERT document, though, it does appear that this flaw is limited to the full JSE. So much for the danger. :)

    8. Re:Original AusCERT by Intron · · Score: 1

      "A buffer overflow"

      Nope. According to the doc, it claims the security flaw is due to "integer overflow". Some computation goes out of bounds when handed a malicious image file.

      --
      Intron: the portion of DNA which expresses nothing useful.
    9. Re:Original AusCERT by smittyoneeach · · Score: 3, Funny

      Well, if y'all goin' for the pure-Java solution, y'all obviously do the BIOS and bootleg^Wbootloader in Java, too.
      I mean, C is just portable Assembler, right? If C is the source of all them evil buffer overflows, I reckon that means Assembler's got 'em, too?
      Heck: me an' Jethro wuz wonderin' how these here computers ever got far enough along for the Sun to 'shine and the Java to perk.
      Yep. I reckon only them city slickers with all their fancy talk do anything but Java anymore, buncha used car salesmen.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    10. Re:Original AusCERT by Anonymous Coward · · Score: 0

      buncha used car salesmen Booooy howdy. If there's one thing I can't stand more than a car salesman it's a car salesman that's been used.
    11. Re:Original AusCERT by JebusIsLord · · Score: 1

      Anything YOU write in Java would be immune, but unfortunately large parts of the runtime itself are still written in native, platform-specific code. A lot of it (like this image library) could/should be reimplemented in Java though, like the other responder indicated.

      --
      Jeremy
    12. Re:Original AusCERT by trolltalk.com · · Score: 1, Insightful

      "If Sun simply rewrote the code in Java (which wouldn't be hard; only time consuming"

      ... especially at runtime ... which is why the jvm has native methods in c. Its already slow as a pig, thank you very much ...

    13. Re:Original AusCERT by dan+the+person · · Score: 1

      1. Impact

                  A buffer overflow vulnerability in the image parsing code in the Java
                  Runtime Environment


      How did they manage to get a buffer overflow in java?

      Is the bug lower down in the native C code? I didn't know they used native code for image rendering unless you used a special extended media API...

    14. Re:Original AusCERT by thomasa · · Score: 1

      No problem, we always try to run the latest update. Update 12 is
      being installed now. Shouldn't they be concerned with the latest
      release? I know there is a lot of concern about changing releases
      but earlier versions had lots of holes too. I expect someone will
      find something in update 12 soon as well.

      Sun Java Runtime Environment (JRE) 5.0 Update 10 and prior

    15. Re:Original AusCERT by FunkyELF · · Score: 1

      I thought one of the big selling points of Java (over C++ back in the day) was that it would be immune to buffer overflows due to it's object representation and garbage collection mechanism. Was that just hype?
      That is only for code that YOU write IN JAVA, not how the JVM is implemented by the vendor. Also, in Java not everything is an object, there are still primitives and those primitives can overflow.
    16. Re:Original AusCERT by burner · · Score: 3, Informative

      Native methods are there to allow a Java program to call code that has not been written in Java, providing access to things such as platform specific functionality. It does not necessarily make your program run faster and should generally not be used to improve performance.

      --
      MRSH-Recording device, corned beef sandwich with kraut, seafaring bird, and the foamy top of a beverage.
    17. Re:Original AusCERT by Anonymous Coward · · Score: 0

      Hey dumbass - get a fucking clue.

    18. Re:Original AusCERT by T5 · · Score: 1

      Add to that fact that the embedded implementations are written by the phone vendor, significantly decreasing the risk. The apps on smartphones, such as a Blackberry, WiMP-based phones, etc., aren't always by the vendor of the phone. My Blackberry, for example, has Google Mail/Talk/Search/Maps, and some other third-party apps on it, a lot of which run on top of J2ME. You still have to have a certain level of trust of third-party apps, especially when they're unsigned (RIM will sign an app for $100 IIRC).
    19. Re:Original AusCERT by mhall119 · · Score: 1

      The buffer overflow isn't in Java code, it's native (probably C) code. Sun implemented a lot of the Java APIs with existing native code libraries, especially in areas of images and 2d graphics. This is also part of the reason the open sourcing of the full J2SE is taking so long, most of this native code wasn't written by Sun, instead it was licensed from a third party.

      --
      http://www.mhall119.com
    20. Re:Original AusCERT by Anonymous Coward · · Score: 0

      Look, don't post useful information in reply to fucking bullshit like the GP posted. Many people before his post made the point that it was in the native code that makes up the fucking APIs. He's just being a pompous dick-licking fuckstain. There is no reason to help these people understand because they're never going to fucking get it. They're a bunch of assholes and the sooner they move over to digg and leave Slashdot, the better. Don't take them seriously. Only call them pieces of shit and tell them to fucking die.

    21. Re:Original AusCERT by nanosquid · · Score: 0, Flamebait

      If Sun simply rewrote the code in Java (which wouldn't be hard; only time consuming), the problems would go away.

      The Java language is a train wreck when it comes to imaging code. You can write something like a JPEG library in "pure" Java, you can even make it fast, but it ends up being worse than writing it in assembly language.

      If Sun actually practiced what they preached, they would have fixed this years ago. Unfortunately, all they every seem to write in Java themselves is increasingly bloated "enterprise libraries"; when they need to write something efficient, they define a new library API and implement it in native code.

    22. Re:Original AusCERT by nanosquid · · Score: 1

      Implementing languages in themselves used to be the norm. If you have a decent language, it's not hard to do. If you have Java, well, then you have to implement big parts of it in C.

    23. Re:Original AusCERT by AKAImBatman · · Score: 1

      How you'd launch the Java-based JVM is not clear

      JNode does exactly that by using the JVM's JIT to pre-compile the JVM. A bit strange, but it works.

      In any case, that's not the point. When you're building something like a virtual machine, you usually want as small of a cross-section for exposure to native code as possible. ImageIO routines have been done in pure Java many, many, many times over. JIMI, for example, was written by Javalobby's founder Rick Ross and sold to Sun. Rather than extending it to meet their needs, Sun ignored their purchase (Lord only knows why) and linked in a native library for loading images.

      So yeah, this really is a snafu on Sun's part.
    24. Re:Original AusCERT by Anonymous Coward · · Score: 0

      Java Sandbox model my ass

    25. Re:Original AusCERT by AKAImBatman · · Score: 1

      Embedded implementations [of the J2ME virtual machine], not embedded applications. Two different things there, chief. ;-)

    26. Re:Original AusCERT by dan+the+person · · Score: 1

      thanks for the usefull information. I'll be sure to take your advice. have a nice day.

    27. Re:Original AusCERT by bytesex · · Score: 1

      There's jalapeno. I'm not going to link it. You google it.

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    28. Re:Original AusCERT by Anonymous Coward · · Score: 1, Funny

      Bunch of FUD-spreading fear-mongers. Hrumph.

      Plus if anyone does write an exploit it will take so long to load and run the thing that everyone will be patched anyhow. Hell, machines capable of running a Java exploit must still be at least five years away. The last time I checked you need about 2G of ram to run "Hello World" (the source takes about 700MB), and you'd best have a big page file to back it up too.

      But Java is getting faster and less bloated. They are learning to profile the language using the same methods that geologists use to track the drift of continental plates.

      Why is it that an infinite number of monkeys at an infinite number of typewriters would reproduce all human knowledge instantly, but they would take about 12 times the age of the universe to generate the Java API? Oh yeah, I guess they would still have to load the thing.

      At least the language is object-oriented. It would be inexcusable to any non-object-oriented language to become so huge and rancid. Can you imagine generating anything so horrible in C, Python, Perl, GW Basic, Fortran, etc without having the benefits of containers with 40 levels of abstraction? I guess you could write several million noop commands for every particle in the universe, but the compiler might be able to optimise that out.

      Hey, maybe if they add another 40EB of rancid filth to the language then someone might be able to declare an unsigned integer. Or maybe not.

      I'm kidding, of course. I love the language. It's just fucking great.

    29. Re:Original AusCERT by Anonymous Coward · · Score: 0

      Don't quit your day job.

      (All moderators who agree can respond with +1.)

    30. Re:Original AusCERT by Anonymous Coward · · Score: 0

      Fuck you faggot. I hope you get diarrhea tonight. Seriously though - why did you make such a stupid fuck post? You obviously don't know shit about the topic. Why the fuck didn't you just read what was posted? The answer to your fucking pondering was right there the whole fucking time. Why the fuck do you think it's so important to spew your ignorance out onto Slashdot? ANSWER ME!!!

    31. Re:Original AusCERT by dan+the+person · · Score: 1

      Why don't you come over here and i'll give you hug, make you feel better yah?

    32. Re:Original AusCERT by jrumney · · Score: 1

      You still have to have a certain level of trust of third-party apps, especially when they're unsigned (RIM will sign an app for $100 IIRC).

      You've got that backwards. You need to have more trust for signed apps, as signing gives them access to APIs that are deemed risky.

    33. Re:Original AusCERT by Anonymous Coward · · Score: 0
      No defense of your moronic post then?

      Typical.

    34. Re:Original AusCERT by dan+the+person · · Score: 1

      Remind me, which API did they say would make an application vulnerable to this bug?

    35. Re:Original AusCERT by Anonymous Coward · · Score: 0
      javax.imagio.ImageIO

      Why couldn't you find that out on your own? Why have you continued this thread and been a complete asshole?

      Look, no one is going to read this but us so why not be honest. Do you think your original post was at all intelligent? I don't think it was. I think it added nothing to the conversation. It showed a real lack of understanding of how the JDK and JVM are built. Your post made me sick to my stomach. Where am I wrong in my assessment?

    36. Re:Original AusCERT by mr_mischief · · Score: 1

      He wasn't talking abut calling a native method from a Java program. He was talking about the JVM itself using native libraries to do some of its work. And yes, at that level it's often advisable to make some vertical scalability-minded decisions.

    37. Re:Original AusCERT by dan+the+person · · Score: 1

      Oh right, so what your saying, is this vulnerability is not in the core java API, and you'd have to be using a specific extenstion API that was introduced with 1.4 to be vulnerable. Thanks, useful information that wasn't included. As i said, i wasn't aware of any 'natively accelerated' image handling, seems my head is out of date. But it'd be useful to provide this info to people so that can know if they are vulnerable. It's not mentioned in any of the adviseries linked here, though i see today a CESA advisory that provides detail has made it to top spot on google.

      Now, how about all take a deep breath, get a cup of coffee, and call our dealers for some happy pills/powder?

    38. Re:Original AusCERT by Anonymous Coward · · Score: 0

      "Oh right, so what your saying"
      Your, you're - learn the fucking difference. At every possible turn you have proven to me that you are a fucking moron. This continues.

      "is this vulnerability is not in the core java API, and you'd have to be using a specific extenstion API that was introduced with 1.4 to be vulnerable."
      Uh, what I am fucking saying is that if your JVM is "As i said, i wasn't aware of any 'natively accelerated' image handling, seems my head is out of date." You would have been aware if you'd read the posts that had been made before yours. You added nothing to the discussion except noise. In the future, if you don't know what the fuck you're talking about (which is always since you're dumb), don't fucking post your little questions. Are you like this in real life? Just going around asking dumb questions all the time because you're too fucking lazy to look at the answers right in front of you? Do you really need to be spoon-fed like this? I fucking hate you so much right now. I have nothing but contempt for you.

      "Now, how about all take a deep breath, get a cup of coffee, and call our dealers for some happy pills/powder?"
      How about you go down some Drain-o?
    39. Re:Original AusCERT by dan+the+person · · Score: 1

      Comeon, come here for a hug, you obviously never got any from your mother.

      None of the posts i responded to mentioned which API had the vulnerability. So i'd like to say there's been a wee addition of useful information to the discussion.

      BTW if you're gonna be pedantic about english speeling then you really ought to avoid typos in your code also, it's javax.imageio.ImageIO

      Now, i better grab some lunch, all this feeding the trolls is making me hungry.

    40. Re:Original AusCERT by Anonymous Coward · · Score: 0
      You still have yet to defend your original post.

      Why did you post a question that showed you had no understanding of the situation and hadn't done even the least bit of research before asking your moronic question?

    41. Re:Original AusCERT by profplump · · Score: 1

      Actually it's called Jikes RVM now. It doesn't require a second JVM to run, but it does require a C program to bootstrap.

      To quote their "Build the RVM" page: The boot image runner is a small C program that loads the boot image and transfers control flow into the Jikes RVM.

  26. Re:Extraordinary claims require extraordinary proo by AKAImBatman · · Score: 4, Informative

    That last line should read, "serious security risk through port 80."

    I find it interesting that this team is supposedly reporting a major flaw, yet manually running the Java updater finds no new JVM versions to download. Didn't they contact Sun first? Shouldn't there be a patch already? Meh. The whole thing stinks.

    If you want to run the updater yourself, you can either right-click on the Java icon in your taskbar and select "Control Panel", or you can run the "javacpl.exe" file in the "c:\Program Files\Java\jre\bin" directory. Look under the "Update" tab to see the update schedule. Click "Update Now" to check for the lastest release.

    Mac users do not need to access a separate updater. Java updates are pushed through the standard system updates, accessible through the control panel. These are also scheduled to run on a regular basis. Only Linux/Unix users should need to manually update their JVMs if and when a patch becomes available. Some of these OSes do have a Java updater, but I don't know the current details about these.

  27. Doh, ignore the above :-) by greenreaper · · Score: 2, Funny

    That was yet another serious Java bug. Unless they've decided to review a story from January, which I guess is always possible.

  28. SOD - Superstition Obfuscation Demagoguery by kippa · · Score: 2, Funny

    Friday the 13th is the new April Fool's Day!

  29. Sounds like a warning from 'Homeland Security' by MarkWatson · · Score: 2, Insightful

    Well, we have a gut feeling that there is a vulnerability...

    The article has no information what so ever - but, perhaps that is to avoid spreading information on how to exploit this alleged weakness.

    1. Re:Sounds like a warning from 'Homeland Security' by fm6 · · Score: 1

      The articles a ZDNET newflash, probably prepared in a hurry. When journalists are doing a breaking story, they don't have time to get all the details. Presumably we'll see more in-depth stuff later in the day.

      I fault the editor (let's see who is it? uh huh, Zonk, what a suprise) for not taking the time to dig up the actual security bulletin, or at least waiting for a submission that contains a link to an article that actually describes the exploit.

  30. Re:Extraordinary claims require extraordinary proo by Trailrunner7 · · Score: 1

    First, this is more than a month old and has been patched. And B, ubiquitousness isn't a word. Not even in Australia.

  31. Re:Extraordinary claims require extraordinary proo by Anonymous Coward · · Score: 0

    It appears to be referring to the GIF exploit, which was patched a couple of months ago.

    And the article is correct, attempting to patch vulnerable JVMs turns out to be practically impossible. The problem is that most Java enterprise software winds up becoming tightly coupled with a specific JVM. (In Oracle's case, a good half-dozen *different* JVMs!) You can't upgrade the JVM without breaking the enterprise app (trust me, I tried, they really work only with the specific JVM shipped), so you're left with vulnerable JVMs and no way to upgrade them.

    I don't have a solution to that problem. The one plus side to Java vulnerabilities is that Java runs on many platforms, so it may be slightly harder to exploit a flaw. But it's essentially impossible to patch a flaw should it become discovered without waiting for each vendor to update their enterprise software to support the new JVM.

    In the end, the network security guys threatened to pull the machine off the network unless we could replace the faulty JVMs, so we just gave up on using Java. It was just an evaluation, and there are other solutions out there that don't cause the security problems Java does.

  32. Well, since this impacts Java... by pw700z · · Score: 5, Funny

    ...at least we can be assured whatever disaster happens, it will happen slowly. Just kidding!

    1. Re:Well, since this impacts Java... by _Sprocket_ · · Score: 1

      And on the plus side, the exploit is probably version-specific. ;)

    2. Re:Well, since this impacts Java... by Basehart · · Score: 1

      I don't know about you, but the thought of threatening virtually everything gives me a giant hard-on.

  33. I know. by greenreaper · · Score: 3, Insightful

    That's what makes it a joke, for all those who've actually read the license agreement. :-)

  34. Fixed in JRE 5 Update 12? by uss_valiant · · Score: 1

    If this is about the buffer overflow in JNLP ("Sun Java WebStart JNLP Stack Buffer Overflow Vulnerability"), then the fix has already been released with JRE 5 Update 12 and the latest JRE 6 update.

    1. Re:Fixed in JRE 5 Update 12? by Mr.+Sketch · · Score: 5, Informative

      It's fixed in:
      * JDK and JRE 6 Update 1 or later
      * JDK and JRE 5.0 Update 11 or later
      * SDK and JRE 1.4.2_15 and later

      From:
      http://www.auscert.org.au/render.html?it=7664

    2. Re:Fixed in JRE 5 Update 12? by neuromancer23 · · Score: 1, Offtopic

      Of Topic:

      Quick note on the Constitution link:

      It says that gay marriage is not protected by the U.S. Constitution, which is incorrect. While the constitution does not specifically mention marriage, the 14th amendment guarantees "equal protection under the law" to all citizens, so technically anyone who voted for a ban on gay marriage is guilty of participating in a conspiracy to violate the civil rights of homosexuals, since we allow extra benefits and special treatment of individuals who are married (which is also illegal and constitutes a conspiracy against unmarried individuals).

      Also, the IRS and income tax are illegal under amendments 5, 13, 14, but they get away with it by making it voluntary and then enforcing it like it is mandatory.

      See also: Schizophrenia

  35. OMG, OMG, Did you Read the Article? by twitter · · Score: 1

    "It would be an extremely difficult and laborious process for an organization trying to patch Java Runtime across the enterprise," he said.

    It's like Windows!

    Non free FUD wars are so entertaining. The war on Java will get twice as hot now that Sun is freeing it. ZDNet won't know if they should call it Dangerous or Cancer.

    --

    Friends don't help friends install M$ junk.

  36. AusCERT alert. by merdaccia · · Score: 1

    The alert is accessible at http://www.auscert.org.au/render.html?it=7664.

    Not sure what all the noise is about. The security "experts" from penetration testing firm Pure Hacking are twats for blowing this all out of proportion.

    --

    *blinking cursor*

  37. This isn't new by radish · · Score: 4, Informative

    This issue (I'll provide a link to the AusCERT page as the summary neglected to) was first publically announced on June 4 and fully patched by June 29th. All that's happened recently is some minor updates to the ticket. Yes it's serious, but anyone paying attention to such things will have patched already.

    --

    ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  38. J9 by QBasicer · · Score: 1

    I wonder if this affects IBM's J9 in any way?

    --
    x86, oh yes, I'm pro.
  39. Re:Extraordinary claims require extraordinary proo by 0xABADC0DA · · Score: 1

    It's probably Security Vulnerabilities in the Java Runtime Environment Image Parsing Code May Allow a Untrusted Applet to Elevate Privileges, which sounds like a flaw in native code that loads images.

    Note that this kind of vulnerability can happen in anything using unsafe code. It is not an indictment against Java's security model, it's just a bug in the native code libraries used to make the implementation faster. Also .NET uses more native code than Java so one would expect similar kinds of bugs to affect it.

    This kind of problem will not exist once all of our libraries and operating systems have been written in safe languages such as Java.

  40. Are you sure? by raehl · · Score: 1

    I'm pretty sure my shoes and coffee mug are going to make it through this ordeal.

    You coffee mug is especially vulnerable to java.

    I can also see where this vulnerability might extend to your shoes, especially if you are standing, holding a coffee mug with java installed, and there are other java users moving around you.

    1. Re:Are you sure? by networkBoy · · Score: 2, Funny

      And then there is a buffer overflow event, causing data packed collisions, next thing you know I've got your mocha executing in my late.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    2. Re:Are you sure? by An+ominous+Cow+art · · Score: 1

      When I visited the National Cryptologic Museum I bought a very nice mug with the NSA logo on it. Within a few years it had developed a couple of long, nasty cracks and leaked like the proverbial sieve. The jokes pretty much wrote themselves.

    3. Re:Are you sure? by joshv · · Score: 4, Funny

      That's probably because the bug inside had failed and the battery started corroding causing it to expand and crack the mug.

    4. Re:Are you sure? by ch-chuck · · Score: 1

      Guess it was not so obvious humor to the mods. NSA gift shop mugs have bugs in them - very insightful.

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
  41. Re:Extraordinary claims require extraordinary proo by moco · · Score: 1

    Well said!

    How are my JSP/Servlet servers affected by this? Even if i was running the most unsecure version of java, I choose what code runs on them. People don't use the server's vm to execute random applets from the internet.

    --
    moi
  42. In Firefox by zentrii · · Score: 1

    In Firefox will it help to at least uncheck Enable Java in /Options/Content?

  43. To quote Harry Dresden... by Anonymous Coward · · Score: 5, Funny

    Just because you are paranoid doesn't mean there isn't an invisible demon out to eat your face.

  44. Re:Excellent example of why Open Source wins... by Anonymous Coward · · Score: 0

    wtf does your comment even mean?? knowing the mods around here though, you'd probably get modded insightful or something equally stupid.

  45. Nothing on Google's Security Blog by gubachwa · · Score: 1
    This is a link to Google's Online Security Blog. Nothing there about the sky falling if you're using Java. Granted, there's some stuff there on virtual machines, but nothing specifically related to JVMs.

    I find this an extremely hard story to swallow, especially given the lack of details in the article. I'm surprised this story even passed Slashdot's screening process.

    1. Re:Nothing on Google's Security Blog by josepha48 · · Score: 1
      I find it hard to swallow too. Java has an update program, that by default will check for new versions of the JRE. Also I didn't see them say what kind of security risk this is. Will someone take over the computer or potentially steal data, does it affect all OS?

      This is very vague. if I came to my boss with this kind of info, he tell me to get the f*** out of his office. WTF!

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

    2. Re:Nothing on Google's Security Blog by HarvardAce · · Score: 1

      I'm surprised this story even passed Slashdot's screening process. There's a screening process? I thought they just had a few monkeys that clicked "accept" or "reject," and the "reject" button was about 15 times the size of the "accept" button.
      --
      Note to self: Stop putting jokes in my insightful comments so I can get something other than +1 Funny!
  46. Re:Simplest solution to this and all future bugs by Anonymous Coward · · Score: 0

    I think you can leave Javascript enabled, just turn off Java. I think the only time I've ever had Java enabled anyways was to play Yahoo games.

    Having Java enabled has a usefullness/security-vulnerability ratio almost as bad as ActiveX.

  47. Open Sores by Anonymous Coward · · Score: 0

    You see? Had this been Open Source intsead of Open Sores, this would not have happened.

  48. Re:Simplest solution to this and all future bugs by Anonymous Coward · · Score: 0

    Just disable Java outright in Firefox by going to the Content section of Preferences. Then you don't have to wait 10 seconds if you happen to hit a page that uses Java.

  49. OMG, OMG, you sound like a sorority girl! by Anonymous Coward · · Score: 0

    Have you got any proof that ZDNet shills for Microsoft, or are you just making up prize bullcrap as usual?

    1. Re:OMG, OMG, you sound like a sorority girl! by twitter · · Score: 1

      Ha, ha, AC. They don't act like the things you see in porn flicks. You might know that if you ever talked to women. You could do that if you had self respect and a future, but those things don't go along with being a M$ PR whore do they?

      --

      Friends don't help friends install M$ junk.

  50. Re:Extraordinary claims require extraordinary proo by Josef+Meixner · · Score: 1

    Even if i was running the most unsecure version of java, I choose what code runs on them.

    According to the AusCERT report the bug is in the image parsing code. So if your Servlet somehow accesses images being uploaded or residing on a third party server, it is vulnerable.

    In that case, the attacker might be able to run any executable on your server.

  51. Re:Extraordinary claims require extraordinary proo by AKAImBatman · · Score: 4, Informative

    It appears to be referring to the GIF exploit, which was patched a couple of months ago.

    No, as others have pointed out it's a flaw in JPEGs and BMP files. PNGs (pretty much the only format used in J2ME in cell phones and PDAs) are safe. Here are the advisories:

    http://www.auscert.org.au/render.html?it=7664
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE- 2007-2788
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE- 2007-2789

    The biggest concern is that arbitrary applets could be pushed to user's machines. This is mitigated by the fact that the latest JVM's have already been repaired. Thanks to the Java autoupdater, there should not be many desktops at risk.

    A secondary concern is servers that accept image uploads. BMPs are usually not accepted anyway, but JPEGs could be a concern. So it is best to upgrade these. Which brings us around to your concern...

    The problem is that most Java enterprise software winds up becoming tightly coupled with a specific JVM. (In Oracle's case, a good half-dozen *different* JVMs!) You can't upgrade the JVM without breaking the enterprise app (trust me, I tried, they really work only with the specific JVM shipped), so you're left with vulnerable JVMs and no way to upgrade them. I don't have a solution to that problem.

    For one, it is possible to upgrade these JVMs. It's a bit trickier than a standard install, but it can be done, at least inside the same VM version. (e.g. Java 1.4 apps will usually not suffer from an upgrade to 1.4.1, but a Java 5 upgrade would be disasterous.)

    Secondly, I *DO* have a solution. Yell at the vendor! If they're going to stupidly integrate the JVM for no reason other than to make your life difficult (ostensibly to make it easier, yeah right) then they can take the burden of getting you a patch. Don't let the vendor off the hook until they get the problem fixed! That's just good practice, nothing to do with Java.

    (Of course, a better practice is to find a vendor who doesn't stupidly integrate JVMs, but I digress.)

    BTW, are you talking about Oracle AS or Oracle Database? Oracle AS would need to be patched for situations like this just in case you handle or will handle image uploads. Oracle Database would not be at risk since there is almost no chance of the database being made to parse images in its procedural code. Desktop applications are similarly unaffected unless they download arbitrary images from the internet.
  52. This shows the usefulness and versatility of Java by Waffle+Iron · · Score: 1

    Write once, pwn anywhere!

  53. Re:Simplest solution to this and all future bugs by ChrisGilliard · · Score: 1

    Uhh yeah, and while you're at it, disable flash, java, and just use a text browser like lynx. Who needs all this web 2.0 content anyways. I mean does anyone actually enjoy watching youtube, using Google maps, using zillow.com or chatting through a web interface or going to sites that use javascript like slashdot?

    --
    No Sigs!
  54. Wow, a scary article. by WWWWolf · · Score: 1

    Pure Hacking's Gatford said the problem is compounded by the slim chance of an enterprise patching Java Runtime vulnerabilities.

    "It would be an extremely difficult and laborious process for an organization trying to patch Java Runtime across the enterprise," he said.

    Oh wow, that sounds really scary. I really wouldn't want to be in the Enterprisey world. I mean, they don't seem to have apt-get there. Or any of those mass-update tools in Windowsland. And they disabled that Java Windows autoupdate thingy because, well, who needs that?...

    FUDdy, huh?

  55. It's a C/C++ flaw in the Java environment. by master_p · · Score: 1

    This proves two things:

    a) a virtual environment is as secure as its host.

    b) it's time to stop using C.

    (the above is valid if the flaw is in JNLP and/or ICC handling code, as some posters said).

    1. Re:It's a C/C++ flaw in the Java environment. by geekoid · · Score: 0, Flamebait

      Perhaps it's time to train people how the fuck to write in C instead of throw it out?

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    2. Re:It's a C/C++ flaw in the Java environment. by ClassMyAss · · Score: 4, Insightful

      You're right, it's not a tool's fault if people don't know how to use it. But C has been around a hell of a long time, and people have been making buffer overrun mistakes for the entire history of its existence, even those who should (and do!) know better, simply because unless it's the main thing on your mind when you're coding C it's an easy mistake to make. So I don't think it's likely that people will ever stop making these mistakes, regardless of education, because the language allows them (and to some extent encourages them).

      Would you really suggest that it's better to train people to not cut their fingers off using table saws than to get them to switch to table saws with some sort of finger guard? Yeah, it's not that the unprotected ones are at fault if you slip up and slice your pinky off, but it seems perfectly reasonable to avoid the problem altogether with a little prior consideration at the tool level, especially if the extra safety modifications are easy. Though to be fair, in this case I don't know what the "best" alternative to C is, since most of the real popular languages these days are interpreted either entirely or at a byte-code level, so are somewhat slow.

    3. Re:It's a C/C++ flaw in the Java environment. by Shotgun · · Score: 1

      Yeah, my table saw has one of those guards. It sits under the table. Damn thing does nothing but get in the way unless you're ripping a fairly narrow board. Try slicing some plywood or ripping a slot with a dado blade sometime. It is the same thing with languages. Get one with lots of safeguards, and it is usually set up to do one thing well. It quickly becomes a PITA if you try to do anything outside of the padded room.

      To bolster your point, though, most of the work people do daily can be accomplished quite well within the padded room. I'm currently working on sanity testing, and I don't need anything more than TCL. C would give me a lot more power to do other things, but the OSHA approved language is plenty powerful for what I need to accomplish.

      --
      Aah, change is good. -- Rafiki
      Yeah, but it ain't easy. -- Simba
    4. Re:It's a C/C++ flaw in the Java environment. by Anonymous Coward · · Score: 0

      you mean like the new extensions MS has added to their latest compiler - if you use strcpy etc, you get a warning telling you to use strcpy_s version (that has a buffer length parameter) or to switch off the warnings with a pragma.

    5. Re:It's a C/C++ flaw in the Java environment. by jrumney · · Score: 1

      Why they had to go and introduce new non-POSIX functions when strncpy already did the job, I don't know.

    6. Re:It's a C/C++ flaw in the Java environment. by darksith69 · · Score: 1

      A good alternative to C is D: http://www.digitalmars.com/d/.

      Ignore the 2.0 version for the while, it's alpha. Use the 1.0 which is pretty good stuff.

  56. WHAT IS THE vulnerability? by recharged95 · · Score: 1

    Google team reports an AusCERT find? AND no details? A simple sentence saying what the error is? Is it patched?

    Sounds like someone saying "Mission accomplished" w/o showing any proof--sounds like FUD.

  57. Perhaps..... by BigBadBus · · Score: 1

    ....theres a reason why the problem with the JVM is not described. If it was, every cracker would be able to write an exploit pretty damn pronto!

  58. Beware of giving out specifics! by Opportunist · · Score: 1

    Well, I can see why you can't say "Do this, this and this and behold, a buffer overflow. Now here and here some code and presto, code injection".

    But this article reads kinda like a mix of a homeland security threat warning and a political speech. There's some kinda-sorta threat, and we deem it critical, and all hell breaks loose if someone steps into it.

    What kinda "information" is that? The link to the actual information has been posted before (yeah, yeah, mod me redundant, my karma will soak it), but could we PLEASE get submissions that actually contain links to some info? I mean, I'd already be happy with some slander and propaganda, but I'm feverishly against a waste of bandwidth like the linked article.

    Think of us commenters! How do you think we should comment if there's nothing to comment on?

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  59. Re:Extraordinary claims require extraordinary proo by Anonymous Coward · · Score: 0

    BTW, are you talking about Oracle AS or Oracle Database? Oracle AS would need to be patched for situations like this just in case you handle or will handle image uploads. Oracle Database would not be at risk since there is almost no chance of the database being made to parse images in its procedural code. Desktop applications are similarly unaffected unless they download arbitrary images from the internet.

    Doesn't matter. The computer security people install software on all network-connected PCs that scans for vulnerable software. If it finds a vulnerable JVM, they'll make you patch it or move the machine offline. Even if it doesn't make sense.



    Like the article said, trying to upgrade Java in the enterprise is nearly impossible. The place I work uses the solution of forcing the issue by scanning the entire filesystem for vulnerable applications, which includes JVMs.

  60. Business as usual, please! by vainov · · Score: 1

    So what is all the excitement about!?
    1) Thís is a buffer overflow error (i.e. an implementation error) in Suns JRE (not in any other vendors Java; IBM and others seem to be safe).
    2) It is an overflow in the image library, so it is unlikely that this will affect mobile phones, PDA's and other hard-to-patch devices.
    3) There is a new, patched, release available for every affected platform and for every affected java version.
    4) Buffer overflow errors (similar or worse than this) which need to be patched, are detected if not daily then at least weekly in the most commonly used operating system on this planet.

    What is the big hype about?
    Is Java becomming too popular? Is this a FUD campaign?

  61. Everything has a Context by fm6 · · Score: 0, Offtopic

    Dude, evaluate words in context. "Everything" implicitly means "everything that we're talking about." If I go into a football huddle and say "everything's at stake in this next play" everybody knows I mean the game and nobody infers that dropping the ball means the end of the universe.

    Your alternative headline ("everything virtual") implies that only Java software is affected. Which I hope is not what you meant. I haven't seen a proper description of this exploit, but if it allows the attacker to inject native code into the target, then everything on that computer is affected. And to an IT director, computers are everything.

    I'm not faulting you for nitpicking. That's what I do for a living. But not all nits are worth picking.

  62. Re:Extraordinary claims require extraordinary proo by Anonymous Coward · · Score: 0

    "This kind of problem will not exist once all of our libraries and operating systems have been written in safe languages such as Java."

    I guess that will happen when all computers use a Java processor so there's non-Java native code.

  63. No Problem by RAMMS+EIN · · Score: 1

    ``even though the browser may be fully patched, some people neglect to also patch programs invoked by browsers to render specific types of content''

    No problem. When you do apt-get upgrade to install the latest, patched version of your browser, it also updates all your other software. Wait! You _are_ using an operating system with a proper package manager, are you?!

    Note that I'm saying this not to flame anyone's operating system or to assert apt-get's superiority, but simply to drive home a point I've made before: when security depends on keeping software up to date, it's only as good as your maintenance. Sadly, many operating systems make this kind of maintenance tedious and time-consuming. This basically leads to a choice between (1) an insecure system and (2) high maintenance cost.

    I use Debian, which makes keeping software up to date a breeze. There are other systems that do so. Sadly, there are also many that don't, including some very popular ones.

    --
    Please correct me if I got my facts wrong.
  64. fine print: sponsored by MSFT by peter303 · · Score: 1

    Im suspicious.

  65. Re:Extraordinary claims require extraordinary proo by RAMMS+EIN · · Score: 1

    ``they really work only with the specific JVM shipped), so you're left with vulnerable JVMs and no way to upgrade them.''

    And this, ladies, gentleman, scum, and bots, is why portability is important to security.

    --
    Please correct me if I got my facts wrong.
  66. Re:Extraordinary claims require extraordinary proo by jZnat · · Score: 1

    Ubuntu has Sun Java packages available (not installed by default), so you can get automatic updates with that. I don't know if Debian still has those packages in non-free, but when Sun JDK/JRE 7 come out (GPLv3), they should be included in main. Gentoo has an ebuild for it already, so just hope that the ebuild gets updated as usual. I don't know about the Red Hat family of distros, but they're probably covered just as well.

    --
    'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  67. Re:Simplest solution to this and all future bugs by neuromancer23 · · Score: 1

    Yeah boy! Text browsing rocks! You haven't lived until you've seen YouTube's Top 100 in the original ASCII.

    No. Seriously. Check it out. At least it will give you something meaningful to do at work. You can include it in your section "How to waste time on meaningless activities"* in your new Project Management book (see blog link).

    * Also known as how to make your computer illiterate boss millions of dollars while he plays golf.

  68. Re:Extraordinary claims require extraordinary proo by Eunuchswear · · Score: 1

    Like the article said, trying to upgrade Java in the enterprise is nearly impossible. The place I work uses the solution [...]
    So the place you work has a solution for a nearly impossible task. Well done those guys.

    So what's the problem again?
    --
    Watch this Heartland Institute video
  69. It's about time! by Pedrito · · Score: 1

    Dangerous Java Flaw Threatens 'Virtually Everything'

    I figured it wouldn't be long before a stupid software bug came along that would threaten the very existence of the universe itself. I knew it!

  70. I'm safe with Microsoft by Anonymous Coward · · Score: 0

    I'm still using the old Microsoft 1.1 JVM. That should be safe, right?
    It's just the Sun JVMs with problems... ;-)

  71. Re:Extraordinary claims require extraordinary proo by neuromancer23 · · Score: 1

    >> (Of course, a better practice is to find a vendor who doesn't stupidly integrate JVMs, but I digress.)

    Actually, Microsoft was required to integrate Sun's JVM in their operating system because of their efforts to undermine and corrupt the Java Standard.

    http://www.windowsitpro.com/Articles/ArticleID/376 82/37682.html?Ad=1

  72. Perhaps there is a silver lining here by JonKean · · Score: 1

    Maybe MS will update (cross my fingers, its an uninstall) their POS 1.1 spec JVM, that to this day causes headaches and frustration at my workplace.

  73. Re:Extraordinary claims require extraordinary proo by Anonymous Coward · · Score: 0

    The problem is that once you find the vulnerable JVMs, you can't actually patch them because the software has some bogus requirement that you don't change the JVM.

    I'm not entirely sure why or even how they manage to do that, but they do. So you're left with either removing the offending software (since it has a vulnerable JVM) or living with the vulnerability, which IT won't allow.

  74. And SuSE has a patch and details. by AaronW · · Score: 2, Informative

    I clicked on the update tool and it shows an update to Java 1.5. The description says:

    Update Version: 3832-0
    Category: Security

    Status: Needed

    The Sun JAVA JDK 1.5.0 was upgraded to release 12 to fix
    various bugs, including the following security bugs:

    CVE-2007-2788 / CVE-2007-3004: Integer overflow in the
    embedded ICC profile image parser in Sun Java Development
    Kit (JDK), allows remote attackers to execute arbitrary
    code or cause a denial of service (JVM crash) via a crafted
    JPEG or BMP file.

    CVE-2007-2789 / CVE-2007-3005: The BMP image parser in Sun
    Java Development Kit (JDK), on Unix/Linux systems, allows
    remote attackers to trigger the opening of arbitrary local
    files via a crafted BMP file, which causes a denial of
    service (system hang) in certain cases such as /dev/tty,
    and has other unspecified impact.

    CVE-2007-0243: Buffer overflow in Sun JDK and Java Runtime
    Environment (JRE) allows applets to gain privileges via a
    GIF image with a block with a 0 width field, which triggers
    memory corruption.

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  75. This shows how secure Java is by Anonymous Coward · · Score: 0, Insightful

    We note that this vulnerability happened in a C library that was used for processing images. There wasn't a buffer overflow in the Java portion because Java has no buffer overflows. It's in the C code where buffer overflows can lurk for years and years.

    They should be looking at all these areas and trying to move to all-Java implementations for as much of the code as possible. And yes, it should be possible to write a Java implementation of a JPEG encoder and have it run as fast as the C implementation.

    1. Re:This shows how secure Java is by ClosedSource · · Score: 1

      "And yes, it should be possible to write a Java implementation of a JPEG encoder and have it run as fast as the C implementation."

      So if the intent wasn't to improve performance, what is your explanation for Sun using a C implementation? You think they don't believe in using Java code whenever possible?

  76. Just my luck... by bensafrickingenius · · Score: 3, Funny

    I just got done installing Java in 3 computer labs, and took the extra step of turning off that damn annoying autoupdate feature in the Java Control Panel on every machine. Crap, there goes my weekend...

    --
    I am not left-handed, either!
    1. Re:Just my luck... by Anonymous Coward · · Score: 0

      yeah like you hade any plans anyway nerd.

  77. Lava Flow by Kinthelt · · Score: 3, Funny

    Am I the only one who originally read this as: Dangerous Lava Flow Threatens 'Virtually Everything'?

    --

    "Evil will always triumph over good, because good is dumb." - Dark Helmet (Spaceballs)

    1. Re:Lava Flow by beaubell · · Score: 1

      Nope.

  78. Blown out of proportion by joseph449008 · · Score: 2, Insightful

    This is the first buffer overflow vulnerability Java has ever been found to have, AFAIK. And they announce it with "threatens nearly everything." Don't the buffer overflow vulnerabilities announced frequently about IE and other programs also threaten nearly everything?

  79. A misconception of Constitutional Rights by tjstork · · Score: 0

    It seems that the favorite thing for both lefties and righties to do is to eschew an interpretation of the Constitution which suggests that it grants citizens rights. Strict Constructionalism and the Living Constitution Theories are both flat out wrong, and both sides are wrecking the country when they twist this document for their own political causes.

    Madison, who wrote the document, along with everyone that passed it, saw that the Constitution grants the -government- some limited rights, with the assumption that the people have ALL the rights, and thus, we as a people are allowed to do anything that is NOT in the Constitution or, made illegal by the government in some limited way.

    To wit, any reasonable court that actually cared about the Constitution would throw out a vast majority of federal statutes, left wing or right wing, largely because the only thing the federal government is allowed to do is roughly:

    a) declare wars.
    b) make copyrights and patents, manage highways, and the mail.
    c) make laws to regulate commerce.
    d) tax income (16th amendment)

    Anything else, from acts restricting gay marriage, to acts restricting guns, are simply unconstitutional at the federal level, as would be wiretapping, surveillance, environmental and some civil rights legislation (that which couldn't rest logically on the equal protection amendment, or the commerce clause). So affirmative action and reparations are illegal, but sending in the feds to bust some heads because of cops lynching a guy is legal.

    Bottom line is, if you argue that someone doesn't have the right to do something, because it is not in the constitution, you have missed the boat on what the document is all about.

    --
    This is my sig.
    1. Re:A misconception of Constitutional Rights by neuromancer23 · · Score: 1

      The purpose of the Constitution is to limit the scope of government so I would agree that the federal government has the right to do a, b, and c, but not d. Slavery is supposed to be illegal in this country, and yet every ciizen of this country is a slave with the exception of a few politicians and bankers.

      Income tax is illegal under the constitution before the 16th amendment (see 5th amendment, 13th amendment, 14th amendment) and the supreme court has ruled on several occasions that the U.S. Government does not have the right or power to tax incomes of individuals (i.e. people not corporations)

      Income tax is a scam created in 1913 in concert with the Federal Reserve Bank Corporation in order to confiscate money from private citizens and hand it over to bankers.

      Anyone with an internet connection can figure that out in five minutes.

      You should really check this out:

      http://video.google.com/videosearch?q=income+tax
      http://video.google.com/videosearch?q=money+master s

  80. Hey this is a feature in .NET! by micromuncher · · Score: 1

    And no chairs were thrown in the production of this snippet.

    --
    /\/\icro/\/\uncher
  81. JVM in Java by CustomDesigned · · Score: 3, Informative
    IBM produced a working demonstration system called "Jalapeno" that codes the entire JVM in Java. If you're wondering how it bootstraps, it is a JIT. So in operation the JVM either interprets bytecode or translates it to native machine code. The JIT has hooks to let a utility translate the bytecode of the JVM itself and package it as a loadable module. The demonstration system supports i386 only. The most interesting part of the project was creating a minimal number of privileged bytecodes to support things like memory management and IO.

    So if your JVM includes a JIT, it is not so farfetched for it to be "pure" Java. (The privileged bytecodes are an extension to the Java standard.) Such a design eliminates whole classes of common bugs. Unfortunately, there are infinitely many additional classes of bugs to take their place. One reason why production JVMs are still coded in C is that the code generation of mature C compilers is so much better than a first generation JIT.

    1. Re:JVM in Java by profplump · · Score: 1

      It's call the Jikes RVM now, and supports PPC-32, PPC-64, IA-32 and IA-64, though the Java class coverage is still incomplete. But it doesn't bootstrap using some magically JIT technology -- it uses a C program to load a pre-compiled image into memory and executes that.

      From their "Build the RVM" page: The boot image runner is a small C program that loads the boot image and transfers control flow into the Jikes RVM.

    2. Re:JVM in Java by CustomDesigned · · Score: 1

      The C program is just a loader. If you read further, you'll see it could have been done in Java also via custom code generation used only for initial load. This didn't seem to worth the effort, since some handwaving is sufficient to establish the feasibility of doing that last bit in Java.

  82. what junk by Anonymous Coward · · Score: 0

    No reference to which version, no nothing.
    This sounds like FUD or fear mongering with no facts at all.
    Rumor mill.
    The closest thing to this I have found is on the early access Java 6 SE and IIRC has been patched already!

  83. Then how do you roll out any security fixes? by argent · · Score: 1

    Which means, a full release cycle. Most enterprises (a catch-all phrase that usually maps to the largest corporate environments, involving thousands of employees) support a range of in-house and 3rd party applications, utilities and infrastructure tools. QA on a release cycle for desktops can cost hundreds of thousands of dollars in employee time and delayed projects, but to perform the release any more cavalierly can result in even more damage.

    How does this differ from any other security patch? It's not because Java is ubiquitous - the components that are patched by many security fixes... particularly from companies like Microsoft and Adobe... are even more widely used. How do you roll out security fixes now? Or do you just not bother to keep up to date?

    1. Re:Then how do you roll out any security fixes? by Anonymous Coward · · Score: 0

      Java updates have side effects sometimes, like browser reconfiguration. Somethimes they require browser configuration and don't do it... I've seen both but it's probably not dependant on the release but whichever package I've downloaded... I don't know for sure, I'm usaully a MONO/.net type dude guy anyway.

    2. Re:Then how do you roll out any security fixes? by ajs · · Score: 1

      How does this differ from any other security patch? It differs substantially from "any other" security patch, because it's specifically a language patch. Changes to your implementation language (even just to fix a bug) can have far-reaching impact, and you can't trust a vendor not to sneak in "extras" with such a patch. Now, compared to a CLR patch or a JavaScript patch for Firefox... no, this is on-par in terms of the expense of a rollout.
    3. Re:Then how do you roll out any security fixes? by argent · · Score: 1

      It differs substantially from "any other" security patch, because it's specifically a language patch.

      It's a *library patch*. The library is shipped as part of the language runtime, but *just* patching that library is no different than patching any other library.

      Yes, the vendor could sneak in other patches, but that's no different to *any* other patch from *any* vendor that provides a language runtime, whether it's Microsoft (CLR, MSVCRT, ...), IBM (Lotus), SAP, Mozilla.org (Firefox), Adobe (Flash), or anyone else.

      Are you saying you'd hold out on a patch for a security hole in IE because it might include a modified version of any of Microsoft's runtimes? Microsoft is notorious for being cavalier about slipping new runtimes in under the hood.

    4. Re:Then how do you roll out any security fixes? by ajs · · Score: 1

      It's a *library patch*. The "library/language" distinction is a thin one, and in this case is moot. I'm talking about impact, and a change to the parser would be less impactful than a change to the libraries (since changing the parser doesn't impact working code in the field).

      *just* patching that library is no different than patching any other library. Not so. It's a core library which must be used by any program that uses the language, and therefore touches all of your software.

      Yes, the vendor could sneak in other patches, but that's no different to *any* other patch from *any* vendor that provides a language runtime I said exactly that.

      Are you saying you'd hold out on a patch for a security hole in IE because it might include a modified version of any of Microsoft's runtimes? I'm saying that any patch that is going to affect diverse development teams' work, across the entire organization is going to have to go through an expensive rollout process, and that's the unfortunate reality that people in large enterprises have to live with. The academic and small/medium-business world will probably never fully comprehend the complexity of running such a large business, but suffice to say that the techniques used in smaller companies and organizations simply don't scale.

      Microsoft is notorious for being cavalier about slipping new runtimes in under the hood. Yep.

  84. Java version used by your broswer by AtomicJake · · Score: 3, Informative

    If you have multiple Java versions on your computer and/or you do not know which version is used by your browser, try this page:
    http://www.javatester.org/version.html

    According to AusCERT, http://www.auscert.org.au/render.html?it=7664
    you are vulnerable, if your JRE is:
    - Sun Java Runtime Environment (JRE) 6
    - Sun Java Runtime Environment (JRE) 5.0 Update 10 and prior
    - Sun Java Runtime Environment (JRE) 1.4.2_14 and prior
    - Sun Java Runtime Environment (JRE) 1.3.1_20 and prior

  85. Is Apple affected? by mzs · · Score: 1

    I know you get the JVM from Apple on Macs. I tried to compile the example code from http://scary.beasts.org/security/CESA-2006-004.htm l but it failed with this error:

    $ javac ImgReader.java
    ImgReader.java:15: incompatible types
    found   : java.lang.Object
    required: javax.imageio.ImageReader
        ImageReader reader = it.next();
                                    ^
    1 error

    I was going to try the sample JPEG on it. I don't have time to fiddle with this, maybe someone else can try it and see what happens.

    1. Re:Is Apple affected? by Oswald · · Score: 3, Funny

      You know it is. Java is Write Once, Run Anywhere, remember?

    2. Re:Is Apple affected? by mzs · · Score: 1

      I am not certain the ICC bug is there. It is possible that the Sun JVM uses littleicc (or whatever that is called) while the Apple one uses colorsync.

    3. Re:Is Apple affected? by Oswald · · Score: 1

      It was my sad idea of a joke, sorry. One mod got it.

    4. Re:Is Apple affected? by The+MAZZTer · · Score: 1

      I don't know Java, but it looks like .next() returns an object, which can't be implicitly cast to an ImageReader.

    5. Re:Is Apple affected? by Vampos+DeCampos · · Score: 1

      Got the same error. Looks like it needs a typecast: ImageReader reader = (ImageReader) it.next();

    6. Re:Is Apple affected? by mzs · · Score: 1

      Thanks for the help in getting the compile working (the cast in another reply). The java provided by Apple for MacOS X is vulnerable to both:

      $ uname -psr
      Darwin 8.10.1 i386

      $ java -version
      java version "1.5.0_07"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
      Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

      $ java ImgReader badicc.jpg
      Invalid memory access of location 002ffff0 eip=ffff0b54
      Bus error

      $ java ImgReader evil2.bmp

      This hangs and in another terminal window:

      $ ps -aux | grep '[j]ava'
      mzs      11402   0.0  0.9   281932   9940  p9  S+    7:55AM   0:00.14 java ImgRe
      $ lsof -p 11402
      COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
      ...
      java    11402  mzs    4r   CHR    2,0      0t0 56388356 /dev/tty

      I dislike how on a Mac we have to wait so long between Java updates and there seem to be few security updates.

  86. Re:Extraordinary claims require extraordinary proo by pherthyl · · Score: 1

    Debian also has Java packages in the repos (in libs/non-free).

  87. Question: will be 0'day attack soft? by Anonymous Coward · · Score: 0

    No problem, we modify this problem in

    http://icedtea.classpath.org/wiki//Main_Page
    http://en.wikipedia.org/wiki/IcedTea_(software)

    Will it be solved?

    What lines are to be modified?

    Else, "to reinvent the VM with a good isolation".

  88. TFA tells us "Virtually nothing" by stuntpope · · Score: 2, Interesting

    Really, could an article be less informative than this one?

    1. Re:TFA tells us "Virtually nothing" by iggymanz · · Score: 1

      only a terrorist would want to know what the flaw actually was. the same ilk of people who'd want to know how to perform unsafe sex or vote twice in a CowboyNeal poll.

  89. java updater gives me nothing by nuzak · · Score: 2, Funny

    This hole might have been a bit easier for Sun to patch if they hadn't made the automatic updater, jusched.exe such an unstable and annoying piece of junk. Or if they made updates work at all. My JRE is still beta 2 and has never seen an update since.

    Screw it. I run Windows anyway, it's not like my system isn't already full of holes. What's one more?

    --
    Done with slashdot, done with nerds, getting a life.
    1. Re:java updater gives me nothing by laffer1 · · Score: 1

      I know you're trying to be funny, but nothing stops someone from downloading it manually from java.sun.com

  90. Re:Extraordinary claims require extraordinary proo by Anonymous Coward · · Score: 0

    Secondly, I *DO* have a solution. Yell at the vendor! If they're going to stupidly integrate the JVM for no reason other than to make your life difficult (ostensibly to make it easier, yeah right) then they can take the burden of getting you a patch. Don't let the vendor off the hook until they get the problem fixed! That's just good practice, nothing to do with Java.

    It's not about integrating the JVM. It's about operating with a newer one, where some piece(s) of code operated normally under 1.x, and don't operate normally under 1.(x+1)

    This occurs whether or not the JVM is rolled out with the APP or a separate install.

  91. You can't write the whole thing in Java by argent · · Score: 2, Informative

    You have to have native code implementation of some methods, at some point.

    I have to admit that I have been very impressed by the overall security of Java. The design is not inherently safe, so the implementation has to be flawless, and I was extremely skeptical of this approach... but Sun has done an excellent job of implementing the Java security model in Java itself with untrusted code running in the same fully capable virtual machine as trusted code.

    This means that for untrusted code, implementing as much as possible in Java is the most secure way to go. And avoiding native OS- or application-specific extensions (like, for a recent example, animated cursors in Firefox) keeps Java from being a carrier for indirect attacks.

    There are, however, some caveats:

    First, for trusted code (for example, normal applications) avoiding native libraries has a potentially huge performance cost. I'm not talking so much about the overhead of Java itself, but portable OS- and application-independent code can't take advantage things like a native graphics API that's directly mapped to GPU operations. I'm sure you can call OpenGL from Java, but I would hope that you can't do it from a Java applet - so applications should perhaps not be held to such a strict regimen.

    Second, one of the problems with Java as a "run anywhere" language for applications is that so much of Java is implemented in Java, emulating a Windows style user interface (I don't have a problem with Sun choosing Windows here, that's where the market is, but it does make Java less attractive to people wanting to "run anywhere".

    Third, solving this problem for Java may be less useful when it comes to security than fixing the native libraries so they're secure whether they're called from Java or some other component for the display of untrusted content (like a browser).

    The flip side of this last point is that implementing a good browser purely in Java would seem to be a way to avoid that problem... but the catch-22 there is the first and second problems, plus so much of the web now *depends on* plugins like Flash, media players, and even Java itself. :)

    1. Re:You can't write the whole thing in Java by Anonymous Coward · · Score: 1, Informative

      For Item #1:
        Java 3D, in applet form no doubt:
            Java3D API: http://java.sun.com/products/java-media/3D/forDeve lopers/J3D_1_3_API/j3dapi/index.html
            Java3D Applets: http://www.garybeene.com/3d/3d-j3d.htm

      For Item #2:
        Native GUI Widgets in Java:
            http://www.eclipse.org/swt/

      For Item #3:
        Java Web Browser: http://html.xamjwg.org/java-browser.jsp

    2. Re:You can't write the whole thing in Java by AKAImBatman · · Score: 1

      You can't write the whole thing in Java

      Well, actually you can, but that's beside the point.

      First, for trusted code (for example, normal applications) avoiding native libraries has a potentially huge performance cost. I'm not talking so much about the overhead of Java itself, but portable OS- and application-independent code can't take advantage things like a native graphics API that's directly mapped to GPU operations. I'm sure you can call OpenGL from Java, but I would hope that you can't do it from a Java applet - so applications should perhaps not be held to such a strict regimen.

      I'm not quite sure what you mean. Java has used DirectX/OpenGL as its renderer for some time now. It's simply hidden beneath the covers of the Java core libraries. Versions 1.4 and higher can even access full screen modes and sync to the monitor's refresh rate. (Though not in an unsigned Applet, of course.)

      Second, one of the problems with Java as a "run anywhere" language for applications is that so much of Java is implemented in Java, emulating a Windows style user interface (I don't have a problem with Sun choosing Windows here, that's where the market is, but it does make Java less attractive to people wanting to "run anywhere".

      I agree that the Swing approach is problematic, but so is the AWT approach. Even SWT, which is tuned to Windows, has a variety of cross-platform display issues. The unfortunate truth is that the only true cross-platform GUI is a GUI that doesn't adhere to any platform. Such is the way of things. :(

      On the bright side, Java wouldn't have done any better on the desktop even if had been given the perfect solution to a cross platform GUI. The majority of desktop applications we use today were already in existence by the time that Java arrived on the scene. Thus we still use Microsoft Office (or the even older codebase of OpenOffice), IE or Firefox (derivatives of Spyglass and Netscape, respectively), Microsoft Outlook, Photoshop, etc. Java applications were unlikely to displace these programs anyway, and with things moving toward the web there are even fewer niches for Java to fill.

      It did well in the P2P arena, though.

      Third, solving this problem for Java may be less useful when it comes to security than fixing the native libraries so they're secure whether they're called from Java or some other component for the display of untrusted content (like a browser).

      The Sun JVM tends to use some rather obscure libraries. It does not hook into the browser services, so fixing the underlying libraries really has no direct effect on anything except Java. And in any case, there is no real excuse for not doing the image libraries in Java save for that it was quicker and easier to link in an existing native library. Probably licensed from someone like Kodak, no less.

      The amusing part is that Sun had paid big bucks to acquire a pure-Java imaging library back in the Java 1.1 days, but chose instead to build a brand new library called JAI. JAI was overly complicated, difficult, and unwieldy, so it was replaced with the core ImageIO library. I guess they didn't consider going back to improving JIMI when they were looking for an implementation for ImageIO.
    3. Re:You can't write the whole thing in Java by matfud · · Score: 2, Informative

      The role of JAI is to process images NOT to load/store them. It had a number of unsupported codecs for loading images because there was no decent framework in java to do so at the time. They probably should have used JIMI to loaded/store images but they did not for some reason. ImageIO was developed in parallel with JAI (actaully a bit behind).

      JAI is still in use. It is still supported (apart from the com.sun* image codecs it originally had). It is complicated to use. It is very powerful.

      matfud

    4. Re:You can't write the whole thing in Java by argent · · Score: 1

      I'm not quite sure what you mean. Java has used DirectX/OpenGL as its renderer for some time now. It's simply hidden beneath the covers of the Java core libraries.

      I think you're misunderstanding, or reading more into it than I put there.

      First, I completely agree that writing code that CAN be written in Java in Java is the best approach.

      First, that's calling native code. The OP was pointing out that writing code in Java solves a number of security flaws, and I agree. My point here is that this can only go so far. DirectX and OpenGL are not written in Java. Neither is the Quicktime for Java library that things like Processing use. If these libraries have bugs (like Quicktime for Java, if you've been following that), or capabilities that aren't bugs but shouldn't be exposed to untrusted code (like, well, just about anything... even an image file reader with NO security holes if you don't limit what images it's allowed to open) then you've still got to address them... you can't write them in Java.

      Second, you still need to have a richer library available for trusted applications. Whether Java uses OpenGL or DirectX under the hood doesn't matter if what your application needs to do is feed in a shader program, and there's no API for it.

      On another point... defeatism is "the bright side"?

      On the bright side, Java wouldn't have done any better on the desktop even if had been given the perfect solution to a cross platform GUI. [Office and Netscape and ... already exist]

      By that logic, one might as well not bother trying to write any new software... it's all been written.

      If Java provided a high enough level API for enough common controls the majority of the application... including all the controls that people generally gripe about when they don't work right because they *are* the common ones people are used to... would just work. This could be a thin implementation (calling the native code fairly early on for each platform) or a thick one (duplicating the native look and feel in Java for each platform)... the application shouldn't be able to tell.

      And that would have done a lot to make Java applications attractive. There have been a lot of good Java apps, I've used them myself, but when I've been able to find a more-native application... I've ended up switching away from the Java one.

    5. Re:You can't write the whole thing in Java by argent · · Score: 1

      1. I followed your links and on the first page I hit I was asked to load a *signed applet*.

      If you need to run a trusted applet to do the work, then you're just making the same point I was, with perhaps a bit more subtlety.

      2. SWT looks like the direction the Java GUI API should have taken from the start. The other fellow who replied to my post seems to be a bit defeatist about things, and even less enthusiastic about Java's potential (even now) than I am. A bit ironic that... anyway, he seemed to put SWT down. Have you any idea why?

      3. Sun released a Java browser too, early on. I used it for a while, but they never gave it the resources it would have needed to really take off, even if it could have solved the plugin problem (or, since it was written in Java, kept the plugin problem from happening by making Java applets work really quickly and smoothly... it *was* early enough to have a chance at that).

  92. not FUD by nanosquid · · Score: 2, Informative

    A buffer overflow in images that only affects desktops and servers supporting image uploads

    According to the announcement, it allows applets to elevate their privileges.

    Bunch of FUD-spreading fear-mongers. Hrumph.

    If applets are vulnerable, that's not FUD, it's serious. Of course, it's only the latest in several such vulnerabilities over the years, which is probably why many people just disable Java.

    Oh, and Sun wouldn't have had this problem if they'd used pure Java code rather than relying on an existing library.

    Yes, that would be the right thing to do. Unfortunately, Java sucks for writing that kind of code.

    1. Re:not FUD by AKAImBatman · · Score: 3, Interesting

      If applets are vulnerable, that's not FUD, it's serious.

      Of course it's serious. That doesn't mean that it affects everything from mobile devices to servers! That was just plain FUD on the part of the article. They made it sound like every implementation of Java ever was now vulnerable and there is nothing we can do about it. In reality, it's a serious problem, but far less so than advertised. In fact, nearly all desktops should be updated by now thanks to the Java autoupdater.

      Unfortunately, Java sucks for writing that kind of code.

      Oh, don't start. I've written plenty of image and datafile loading routines in Java. You don't get nice "struct" features* for memory management, but that doesn't materially impact the ability to load and parse the data. The biggest thing to remember is that some formats use endians in something other than network order. (I'm looking at you Ronald Rivest! Do you know how much it would have saved me if MD5 used the same byte order as every other RFC under the sun? Grr...)

      * I did write a proof-of-concept "struct" pre-processor once in an attempt to make a colleague happier. It basically added a new form of class type other than "class" and "interface". When parsed, it would be transformed into a ByteBuffer object with getX()/setX() accessors/mutators that accessed the correct locations of the buffer.
    2. Re:not FUD by nanosquid · · Score: 1

      Of course it's serious. That doesn't mean that it affects everything from mobile devices to servers!

      It does affect everything from mobile devices to servers, because they all run Java 6 (more mobile devices run mobile Java, but some still run full Java).

      but that doesn't materially impact the ability to load and parse the data.

      Well, you can keep pretending that all is fine and dandy with the Java language, but the fact is that there is a boatload of native code in Java and Java libraries, and not just old code, but new native code specifically written for Java. When even Sun prefers writing large chunks of the Java implementation in C, that tells you that the Java language just isn't very good at those things.

      Other general purpose languages in the past have made it a point to allow the entire system to be implemented in that language, with at most a trivial amount of bootstrapping code and some interfaces to legacy libraries.

    3. Re:not FUD by AKAImBatman · · Score: 1

      It does affect everything from mobile devices to servers, because they all run Java 6 (more mobile devices run mobile Java, but some still run full Java).

      You don't know what you're talking about. There are absolutely no mobile devices on the market that run Java 6. For that matter, I seriously doubt there's a mobile device in existence with enough OS services and horsepower to handle a complete Java 6 implementation. Do you have any idea the range of functions that are covered by the J6SE standard? By the time you're compatible, you might as well have shipped a laptop!

      Futhermore, even if they did run Java 6, it's doubtful that they would be vulnerable. This vulnerability is in a specific library used by the Sun implementation. Other implementations would be unaffected unless they used the exact same library.

      When even Sun prefers writing large chunks of the Java implementation in C, that tells you that the Java language just isn't very good at those things.

      You know, it always amazes me how people continue to put Java down despite the fact that they plainly don't know what the hell they're talking about. You get one fellow over here saying, "Java doesn't have a print API." So you show him the print API and he says, "Oh." You get another fellow saying, "Java can't do OpenGL!" So you show him the OpenGL API and he says, "Oh." Then some damned fool comes along and says that Java can't be implemented in Java. You point him to JNode and Jalepeno, and he says, "Oh."

      But there's always another fool behind him just waiting to tell the world about his highly uninformed opinion as to why Java sucks. Not a single one of them is correct, but that doesn't stop them at all!

      *sigh*

      For your information, Sun used native libraries for things like ImageIO because it was easy, not because it was smart. The reasoning seems sound enough. Why reimplement the wheel when it's already been done? Of course, that belies the fact that you cut Java off at the knees by doing so. All the problems you shouldn't be having come back to bite you in the rear. Hopefully Sun will heed these security issues, and reimplement the ImageIO routines in the near future.
  93. Re:Extraordinary claims require extraordinary proo by VGR · · Score: 1

    I've seen a lot of pages describing this vulnerability, but I'm still not clear on what APIs are involved. You are one of many who have said it's probably in native code, which makes sense, since the Java runtime won't permit a buffer overflow in Java bytecode. Can anyone confirm if this means the vulnerability lies in Applet.getImage, Toolkit.getImage, Toolkit.createImage, and certain ImageIcon constructors, while the loading of images through ImageIO is unaffected?

    --
    The Internet is full. Go away.
  94. OMG, OMG, you sound like a troll! by Anonymous Coward · · Score: 0

    Yeah, but you didn't answer his question. Could it be because *you're* the one on Microsoft's payroll, tasked with making the FOSS movement look like a bunch of deranged lunatics?

  95. Uh, that's just asinine by Anonymous Coward · · Score: 0

    In my experience LISP programs are some of the easiest programs to understand.

    I love how in the past ten years, LISP has been bashed because of a few parenthesis and XML has been lauded for its angle brackets.

    The two forms of expression are isomorphic.

    1. Re:Uh, that's just asinine by Anonymous Coward · · Score: 0

      Maybe it's because XML is a markup language and not a programming language?

    2. Re:Uh, that's just asinine by cortana · · Score: 1
  96. Re:Extraordinary claims require extraordinary proo by AKAImBatman · · Score: 1

    I'm only guessing, but I believe this vulnerability directly relates to ImageIO. The Toolkit only supported the load of PNG, GIF, and JPG the last time I checked. This vulnerability has to do with BMPs and ICC profiles in JPGs and BMPs.

  97. Translation by BlueParrot · · Score: 1

    Right, trying to explain this to the CS crowd...

    Soviet -> Microsoft
    Chernobyl's RBMK reactor -> Windows ME

    IAEA -> Open Source Movement
    European Pressurised Water Reactor -> OpenBSD, default install

    Yes, hardware can fail, but depending on how you build it the probability of failure, and just how damaging a failure will be, will differ greatly. So just like any sane software developer will not build a system where a bug in your animated cursor rendering is likely to allow execution of arbitrary code, a modern western reactor is not built in a manner that lets a bug in a LISP program cause a complete meltdown. Much has changed since TMI. Modern designs have redundant safety systems for virtually every critical part of the reactor. As an example, Canadian reactors have multiple redundant sets of control rods. Some are manual, some are automated , and the automated ones are split between two separated systems. Triggering any one of them will cause complete shut-down of the reactor, and should all control rod systems fail it is possible to inject neutron-absorbing substances into the heavy water moderator, triggering a shut-down that way. Now, I'm not going to state anything for certain, but if you can come up with a bug in a LISP or Java program that would defeat such a system, then quite frankly I have to wonder what you are doing speaking to us mortals ; - )

  98. Re:Simplest solution to this and all future bugs by camperslo · · Score: 1

    I realize you weren't serious about giving up everything, but how about at least having some text-only POP and web email clients to avoid html vulnerabilities and web bugs (AKA Yahoo Web Beacons) when browsing mail? (names of OS X and Linux versions needed)

    Perhaps Firefox ought to have a plain text mode for all but trusted sites?

    Giving up rich content for browsing is one thing, but most of the time there is no need for it in email.
    Text content with support for file attachments would be plenty.

  99. Naming and installer by pe1chl · · Score: 3, Informative

    Can anyone explain why Sun changes the name of the package with every minor version?

    J2SE Runtime Environment 5.0 Update 11
    Java(TM) SE Runtime Environment 6 Update 1
    Java(TM) 6 Update 2

    What will the next update be called? J2SE Runtime Environment 6.0 Update 3?

    Installer changes every time, too. It is just inconvenient for those that want to do unattended installs.

    1. Re:Naming and installer by mwalleisa · · Score: 2, Informative

      I completely agree with you about Sun's naming and versioning scheme (really, what's wrong with Java JRE 1.5.0_12 - it tells you what you need to know). However, I wanted to pass on some (hopefully) helpful info about the unattended installs.

      Java JRE 1.4.2 accepted the same command-line options throughout all version, and they even kept the naming scheme fairly consistent. Java JRE 1.5.0 and JRE 1.6.0 accept a slightly different set of command-line options but it is consistent throughout those releases - the naming convention was a little less consistent but it's not really a big deal for unattended software deployments. The key to managing Java deployments is to remember that by default, the JRE installer (and JDK too, IIRC) will not remove any previous versions, simply install the new one and (usually) make it the default JVM. I used to do desktop software management (Microsoft shop, SMS 2003). Our install base was a mess when I started, with literally dozens of JRE versions in use. Keeping detail to a minimum (if you're that curious, email me), once we decided on an "approved" JRE, I built a wrapper around that JRE installer that would inventory other JREs installed on the box and remove them all before installing our standard JRE. Once most of our systems had a common JRE, it was simpler to manage the upgrade process. I had our SMS deployments structured so that it would identify "out-of-date" JREs and patch them automatically. Whenever we approved a new version it was about half an hour of work on the back-end (marking that version as "current" and tweaking the advertisements). Once the new version was slurped into the hierarchy, any "out-of-date" JREs would be updated in a week (most in considerably less than that).

      FYI, the acceptable switches for JRE 1.5 and JRE 1.6 are (see this page):
      {some-jre.exe} [/L] /s /v"/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=:\] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=1]"

      The only difference for JRE 1.4.2 is that it supported an additional parameter: [NETACAPE=1]. For 1.5 and 1.6, [MOZILLA=1] covers installing the Java plugin for both Mozilla and Netscape browsers.

      I've found this worked well for us (we actually used some of the extra fonts): {some-jre.exe} /s /v"/qn ADDLOCAL=All IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppress JAVAUPDATE=0"

      Alternatively, just extract the .MSI from the executable and deploy using the standard Windows Installer command-line parameters.

      --
      If a cluttered desk is a sign of a cluttered mind, what does your empty desk signify?
    2. Re:Naming and installer by pe1chl · · Score: 1

      We only use Java for random webpages that happen to use it. No internal apps or business-critical pages are using Java, afaik. So I just install the latest version.
      So I wrote a pre-installation script that finds all installed versions (usually only one) and uninstalls them. But again, this has to handle several different installers they have used. I generally clean it up after I am convinced that no older versions exist anymore (did that yesterday), but it remains a nuisance.

      Then, I run the installation of the newest version. We normally try to do silent install via commandline parameters but in this case we still use an "automation" script and it has to be changed every time. Thanks for your info, I will use that instead.
      I normally try to run an installer with /? and maybe some other flags to see if it gives info about silent installs and when it doesn't I fall back to the automation thing. Our installations run in the weekend wihout users present so this usually works. But I like it when I can just put a new version into the installation directories and see it install OK instead of having to walk through the process again and again because the packagers can't make up their mind!

  100. Robert Lowe by Anonymous Coward · · Score: 0

    I liked him in St. Elmo's Fire and The West Wing, also the Mike Meyers/Dana Carvey movie,
    but how is he qualified to speak about Java security flaws?

  101. Google Security Team found it? by A+non-mouse+Coward · · Score: 1

    So, Google's security team found the flaw in Sun's java JRE ... Isn't that like Microsoft's security team finding bugs in Apple's or IBM's code?

    --
    libertarian: (n) socially liberal, financially conservative; neither left, nor right.
  102. Rob Lowe? by Anonymous Coward · · Score: 0

    Didn't he make a porno a decade back?

  103. Re:Extraordinary claims require extraordinary proo by wingwing · · Score: 0

    No offsense, but that's a rather incredible claim. They're saying that no matter if you're running a JVM on the server, cell phone, applet, desktop, or just about any other environment, you're vulnerable? I'm sorry, I can't accept that without extraordinary proof to back up such extraordinary claims.

    No extraordinary proof necessay. Java's original slogan is write once, run anywhere. So generally speaking, a program that runs on your server can also run on your cellphone, desktop etc. And (again genrally speaking) that program will have the same bugs on all of those environments. Of couse this is a JVM issue, but you get the picture.

    Java was designed from the beginning with security in mind. Its security infrastructure has been tested for over a decade now.

    This doesn't really have anything to do with security infrastucture. It's a vulnerability in the image parsing code.

  104. Designing a Safety System is not about Logic by Cassini2 · · Score: 1

    Reliability analysis is used to quantify failure rates. It is poor practice to use logic to analyze either a computer program or a safety system. Logic can only reveal the obvious flaws in the system. Logic does not help us to quantify the impact or severity of the flaw. Logic assumes things "always" happen. Real-life does not "always" happen as intended. Mechanical systems are never "always" consistent. Computers aren't "always" consistent either. Users have a big impact on problem severity.

    We have 100+ years of history designing mechanical systems for applications were they almost "always" work. This gives us ample data to quantify likely failure modes. These failure modes can then be analyzed and prevented by other safety measures.

    In the case of safety systems, layer upon layer of checks are present. The concept is that even if something fails, or comes close to failing, it will be picked up by another check. Quantifying the performance of a safety system is not about logic, it is about reliability analysis. How many failures are likely to happen? and how many failures does it take before something dangerous happens?

    One report on 3 mile island listed separate 114 (?) failures that ultimately resulted in the core meltdown. How unlikely is this? Mathematics tells us that unlikely events happen all the time. Every day someone wins the lottery. How unlikely is a nuclear accident to occur? That question is answered by reliability analysis, and it is a complex field including both statistical techniques and logic.

    How likely is it that something bad will occur as a result of this Java bug? It turns out that the computers (and their users) would have to make thousands of poor decisions before suffering adverse effects from this bug. Unfortunately, millions of computers exist, each making millions of decisions per second, so some people will probably be affected. Quantifying the severity of the problem is a difficult reliability analysis problem.

  105. New Slogan by Tablizer · · Score: 1

    "Run everywhere, run anything"

  106. I'm safe! by Anonymous Coward · · Score: 0

    No Java for me, unless it's in a cup. I stick exclusively with ActiveX- it's way more secure. Obviously.

    The only thing Java has given me in the past few years has been viruses. It's kind of incredible how many network-aware Java viruses there are, and how little press they get. That's FOSSies for ya!

    1. Re:I'm safe! by Anonymous Coward · · Score: 0

      Last I checked, Java is initiated as an ActiveX plugin within Internet Explorer, so reguardless it would still fall into the exact same category.

  107. Re:Extraordinary claims require extraordinary proo by AKAImBatman · · Score: 1

    Ok, apparently you're not getting this. Java was created to prevent security hazards like this by design. Which means that if there actually is a "Write Once, Run Anywhere" vulnerability in Java, it's a massive flaw in Java's design.

    It's possible that such a flaw could have been found 10 years ago, but at this point its security has been tested by fire. There's no way to pierce the veil of Java's security design. Major flaws are further down the pipeline in the implementation of the JVM, which means that (by definition) the flaw does not exist on all JVMs.

    As it turned out, this is a flaw in the implementation of the JVM. Someone linked in native code where it probably wasn't a good idea to do so. In result, desktops and some servers are vulnerable. (Actually, very few are thanks to Java's autoupdater which has already upgraded most machines to a fixed JVM.) This hyperbole about PDAs, Cell Phones, etc. is exactly that: Hyperbole. These devices are NOT vulnerable. It's just some analysts lame attempt to extend the issue where it isn't because he doesn't understand the problem in the first place.

    And THAT is why I shouted that it required extraordinary proof. Not because it ended up being a fairly textbook bug in native code, but because of the article's extraordinary claims of all JVMs being affected.

    Again, extraordinary claims require extraordinary evidence. The article made extraordinary claims and was unable to follow up based on the evidence at hand.

  108. J2ME can support JPEG by Anonymous Coward · · Score: 0

    J2ME can support jpeg as much as png's. You were misleading in this. But you are also right... since the api just care about loading images it's the vendor's task to implement which formats will be accepted by the device (in other words... you may not need any decoder at all). The coder only need to deal with the bitmap (array of pixels) resulting from the file load.

    1. Re:J2ME can support JPEG by AKAImBatman · · Score: 1

      in other words... you may not need any decoder at all

      This is incorrect. The J2ME spec specifically calls for PNG support. The first revision of J2ME, in fact, did not support arrays of pixels. Image data in an array was expected to be packed in PNG format. The result is that quite a few developers came up with a way of loading images, extracting the pixel data, then reencoding them as PNGs after they resized them for the device. They could then be put through the APIs to retrieve an image capable of being drawn to the screen.

      While it's possible for a vendor to support JPEG, the spec ONLY requires PNGs. And in practice, that is the only image format you can rely on.

      From here: http://theoreticlabs.com/dev/api/midp-1.0a/javax/m icroedition/lcdui/Image.html

      Implementations are required to support images stored in the PNG (Portable Network Graphics) format, version 1.0. [...] Creates an immutable image which is decoded from the data stored in the specified byte array at the specified offset and length. The data must be in a self-identifying image file format supported by the implementation, such as PNG.
  109. Re:Extraordinary claims require extraordinary proo by jrumney · · Score: 1

    A secondary concern is servers that accept image uploads.

    I think you need to qualify that a bit more. The vast majority of server applications that accept image uploads treat the image as a stream of bytes that they save to a file or database. To be vulnerable, they have to actually decode the image using the vulnerable parser, which is not a trivial thing to do unknowingly on a headless server.

  110. Re:Extraordinary claims require extraordinary proo by AKAImBatman · · Score: 1
    Most image upload sites generate a thumbnail image, which requires that the image be loaded, resized, then saved out. So anyone that deals with image uploads should double check to be certain they're not vulnerable somewhere in the system.

    But you are correct. If you just have a simple file upload with no parsing, you'll be just fine.

    ...which is not a trivial thing to do unknowingly on a headless server.

    It's not trivial if it's truly headless. Java has had headless support for a while now that is capable of doing graphics even without a graphical system running. The only way that it absolutely doesn't work is if you have absolutely no X11 libraries in your path. Windows and Mac machines will always work.

    Also, you don't actually need to modify the image to trigger the vulnerability. If you parse it at all you will trigger the exploit. The image IO libraries are not dependent on a graphics library and will work on a truly headless server. So if, for example, you change all BMPs uploaded into PNGs for storage, you may be in need of an immediate update to your JVM.
  111. What kind of processor ... by Anomalyst · · Score: 1

    ... executes code on the stack? buffer overflow vulnerabilities are the result of Intel Idiocy and the legacy of programmers who exploited the flaw to write l33t self-modifying code that resulted in "backwards compatibility" keeping us vulnerable even after they the default and not a particular language.

    --
    There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    1. Re:What kind of processor ... by smcdow · · Score: 1

      What kind of processor? Why, all of them.

      --
      In the course of every project, it will become necessary to shoot the scientists and begin production.
  112. You're right, I can't... by SanityInAnarchy · · Score: 2, Insightful

    I can't comprehend why people continue to use platforms without package management, or why there has never been a serious project to bring a package manager to these other platforms.

    If it was a large office full of, say, Linux desktops, which ran a nightly update off some repository stored in the office, then you just update that repository. If it breaks something, you roll back, or roll out a new patch to fix what it broke.

    Maybe not easy, but certainly no harder than rolling out patches to a small or medium-sized office.

    --
    Don't thank God, thank a doctor!
    1. Re:You're right, I can't... by Cederic · · Score: 2, Interesting


      The physical roll-out of the patch isn't necessarily a problem, although it could be.

      For Java there are likely to be a minimal number of applications on desktops, and Java backwards compatibility tends to be both very good, and also predictable. So testing on the new VM should mitigate most of the risks and it should be fairly straightforward as an upgrade.

      Where it's something like VB in Windows, an upgrade can break a hell of a lot of stuff. And if there are multiple user types in the organisation, each will have their own set of applications. The interdependencies can get very complicated, and you need to test every combination. Even if you only do high level regression testing, if that's needed across 70 different applications, with a dozen ways they may be combined on a desktop, that's a significant labour and management overhead. And those teams tend to be under-resourced and over-committed already..

      I mentioned that physical roll-out can be complicated. Just three years ago an organisation I worked for had around 1200 retail outlets. They shared the same pipe into head office, and all had just 56kbps burst (28k committed) lines into the outlets themselves. A roll-out to update each of the half dozen PCs in all of the outlets physically couldn't complete in a single night.

      Things just aren't as simple when you go multi-site, multi-configuration, multi-platform and refuse to spend the money needed to make it easy.

  113. It doesn't matter anyway. by Bryan+Bytehead · · Score: 1

    Everytime I try to download the patch, I get an invalid file, an HTML document instead of what I should be getting. Sun can't even keep their crap up and running.

    --
    Bryan
  114. FUD by talledega500 · · Score: 1

    FUD FUD FUD.

    Its really bad and we'll never get it patched!

    FUD.

    Slash Blackmail

  115. Good pun... by telengard · · Score: 1

    'Virtually Everything' ~telengard

  116. Why they used C in the first place by Anonymous Coward · · Score: 0

    Until recently, even the best possible pure Java JPEG implementation would have been a lot slower than the C implementation. "Java is slow" used to be true. Sun's decision made sense when they made it. It doesn't make sense anymore. With the state of JIT, a Java JPEG library would be running as native code, just like C, and would be as fast or perhaps faster.

    ------------
    My IP address

    1. Re:Why they used C in the first place by Anonymous Coward · · Score: 0

      "as fast or perhaps faster"

      Sorry, Java and rest of managed bloatware is slow. Oh sure, it's fun to program in it and ignore that crappiness as you or I gain become attached to the product, but it is still bloated, slow, flaky, crappiness.

    2. Re:Why they used C in the first place by Anonymous Coward · · Score: 0

      "Sorry, Java and rest of managed bloatware is slow."

      There just isn't a basis for that statement anymore. Yes the memory overhead of loading the VM and the classes is there. The time overhead for loading is much less than it used to be. But once it is running it is not any slower than C++ these days. Benchmarks have shown that repeatedly. It can also be more memory-efficient than hand-coded C programs.

      Java used to be slow bloatware, I grant you, but it isn't anymore.

  117. Vista + Internet Explorer + Flash is similar by Anonymous Coward · · Score: 0

    Vista Internet Explorer's "protected mode" really helps cut the impact of possible attacks, but (similar to Java) Flash provides an avenue of attack because it runs outside protected mode. IE on Vista pops up a dialog asking for approval to run a component (i.e. Flash) outside of protected mode.

    Unfortunately this security measure is pretty useless. This is because if the user leaves the "don't ask me again" checkbox unchecked so they can confirm each elevation, they may get 10 or more prompts when a page loads because so many pages and ads use Flash in multiple places and each one is prompted for separately, and the user isn't given a good indication as to which one is prompting. The only way to avoid being bombarded by popups it to check the box, but then the user is never asked and Flash is elevated without warning on all web sites, resulting in a much bigger security issue when a Flash vulnerability is found.

    To make this better, Microsoft really needs to:
      - clearly identify the URL (and filename?) of the Flash object in the prompt since it may be different than the web site being visited
      - store the "do not prompt" option per-website and provide a way to manage the list of approved sites

  118. IE7 on Vista by Anonymous Coward · · Score: 0

    As much as people here refuse to stare a Microsoft product in the face and realize something good about it, IE 7 protected mode will substantially limit the effect of this vulnerability. Note that the OS features it employs to reach this are also available to other browsers, who have for some reason not implemented it.

  119. Re:Extraordinary claims require extraordinary proo by cortana · · Score: 1

    Unfortunately packages in contrib and non-free do not receive security updates, which is worse than if the packages did not exist in the first place: anyone running etch who installed the packages, expecting them to be updated is now screwed.

    http://bugs.debian.org/431831

    According to the security bug tracker, etch's java package is vulnerable to CVE-2007-2435, CVE-2007-2788, CVE-2007-2789, CVE-2007-3004, CVE-2007-3005 and CVE-2007-3503. No security updates are planned for any of these issues.

  120. Try Appupdater on Windows by ant_tmwx · · Score: 1

    Might want to check out Appupdater. It 's like apt-get or yum but on Windows, or Windows Update but for all the random apps on your computer. Will keep them up to date and using the latest versions with security fixes, and can be run on a corporate network.

    http://www.nabber.org/projects/appupdater/

  121. OK, *DO YOU* roll out security fixes? by argent · · Score: 1

    Java updates have side effects sometimes, like browser reconfiguration.

    So can any security fix. Hell, there's some whopping design flaws in the Microsoft HTML control that *will* break software if Microsoft ever gets the balls to fix them, and they *have* broken stuff with security patches before.

    The point is, if people are holding off security fixes because they're worried about a patch to an image reading library in the Java runtime having unintended consequences, how do they ever summon the courage to perform ANY security patches.

    Or do they just not apply them?

    That would help explain the "robust viral ecosystem" out there.

  122. That's what package managers do. by SanityInAnarchy · · Score: 1

    Or at least, it distributes the process.

    Let's say VB was distributed using a good package management system. (I actually think all of them suck in subtle ways, and I may write my own sometime, but I digress. Assume for the moment it's good enough.)

    And let's say all of the VB software you run is distributed with the same package management system.

    Minor VB updates are things that should not possibly break anything, except badly-written software. If the software is being developed by people who also use a package management system, chances are they can't get away with anything that depends on exactly version 2.3.5 build 81345 or something, because it would constantly be breaking their stuff in development. But if they behave, then they should be OK until version 2.4.

    Then, version 2.4 comes out, and the developer of software depending on version 2.3.5 test their stuff with 2.4, patch it if needed, and roll out a new package that depends on 2.4.

    Linux distros, in particular, are usually set up in such a way that multiple versions of a library can be installed without conflicting with each other. So, our hypothetical package manager would install the new, updated library, and when all your apps have been tested to work with that version (by their respective vendors, not you), then the dependency on the old library is removed and it's cleaned out with the next reverse-dependency clean.

    Also, package management would tend to make it easy to uninstall a package, or roll it back, in a worst-case scenario. These are not always easy on Windows, and not always possible, especially with something like VB or IE -- with Windows, I'd take disk images.

    I'm not saying the problem becomes always trivial in all cases. A major glibc upgrade on Linux probably breaks more things than a VB upgrade on Windows. But a package manager does make it trivial to at least track what you're doing -- that way, your system knows exactly when the glibc upgrade is allowed.

    --
    Don't thank God, thank a doctor!
    1. Re:That's what package managers do. by Cederic · · Score: 1


      I'm not denying that package managers, or other configuration management tools can help tremendously. I do feel it trivialises a complex scenario to just suggest delegating the work to one - there's rather more than that to do in most heterogeneous commercial deployment environments.

    2. Re:That's what package managers do. by SanityInAnarchy · · Score: 1

      I'm suggesting that a good package manager would support not delegating the work to the software itself, but to the developers responsible for it.

      In other words, why should you, an IT person, be required to be a distro maintainer? And in any case, if Microsoft is rolling out a patch, shouldn't every developer be testing their own software against that patch? (And if they do that properly, I think your job is done -- the package manager would tell you whether a particular developer says their product works with a particular patch, and would automatically delay the upgrade for a particular machine until everything will work.)

      --
      Don't thank God, thank a doctor!
    3. Re:That's what package managers do. by Cederic · · Score: 1


      I'm sorry. You want me to contact the creators of every single one of the 280 software packages we use (many of which are bespoke, several of which were written so long ago the author is dead, some of which no longer have source code, etc) to find out whether their software will work with a patch in every other piece of software we use?

      This sounds improbable.

      I do admire the work that distro maintainers do, and the effort they put in. I've also yet to work for any organisation that can handle 0 day patches and roll them out across a significant enterprise.

      If it's that easy, go make yourself a tidy fortune doing it. Blue chips will pay vast sums for that headache to be removed.

    4. Re:That's what package managers do. by SanityInAnarchy · · Score: 1

      I'm sorry. You want me to contact the creators of every single one of the 280 software packages we use (many of which are bespoke, several of which were written so long ago the author is dead, some of which no longer have source code, etc) to find out whether their software will work with a patch in every other piece of software we use?

      Not you, personally. Ideally, they'd already be working on it, and would (indirectly, through the distro) contact you.

      Then, you, or some other maintainer, can look into however many are left -- which, as you say, the author is dead, or no longer have source code, etc -- but I bet that's the minority.

      If it's that easy, go make yourself a tidy fortune doing it. Blue chips will pay vast sums for that headache to be removed.

      Good idea. And I admit it wouldn't be easy...

      Although I'm not entirely clear that there's money that can be made from this at all. It might work best as an entirely free and open system, one which I'd really have no control over once released into the wild.

      --
      Don't thank God, thank a doctor!
  123. OK, *DO YOU* roll out security fixes? by argent · · Score: 1

    You're still creating an artificial distinction.

    A change to a library routine that's used to read an image file is a change to a library routine that's used to read an image file.

    It is *more* likely that this will effect "all your software" if it's a change in a commonly used component than if it's in a component that just happens to be part of a runtime for a language that some of your software uses.

    Also, I wrote "Yes, the vendor could sneak in other patches, but that's no different to *any* other patch from *any* vendor that provides a language runtime". I didn't mean "any patch to a language runtime" from such a vendor, I mean *any* patch from such a vendor.

    For example, *any* patch from Microsoft might change MSVCRT, so you shouldn't casually roll out *any* patch from Microsoft lest it break every program written in Visual C.

    I'm saying that any patch that is going to affect diverse development teams' work, across the entire organization is going to have to go through an expensive rollout process, and that's the unfortunate reality that people in large enterprises have to live with

    That means, *any* patch from *any* vendor that makes *any* software that your developers are likely to depend on, whether it's a patch for that software or not, is a "patch that is going to affect diverse development teams' work". Any of them.

    So DO you roll out security fixes at all? How do you justify it?