What was the Flaw in iOS4 ?
The flaw is in the way the browser parses PDF files . JailbreakMe.com, which hosts an exploit code written by comex enables the software to get root, or control, privileges on the device to bypass the digital code signatures used by Apple in all iDevices.
According to reports an Apple spokeperson told CNET reporter Erica Ogg that they are well aware of the security exploit found in iOS4 firmware and they have already started working on its fix. Though we are not expecting a quick release of the patched iOS firmware , which would probably be iOS4.1, but it is expected so be released at the end of this month.
What we suggest :
Buy a iPhone 4 before it comes pre-installed with the patched iOS4 firmware. We cannot guarantee when will the next jailbreak will be released , as you can see it was quite uncertain in its firt launch that came almost 10 weeks later of its release.