Any software version, but only the first revision of the hardware are easily exploited, later versions are patched and require a mod chip. The og version has a handy buffer overflow in the recovery mode that lets you boot unsigned code.
https://rentry.org/IsMySwitchPatched