The camera module according to the present invention includes a first diode for interrupting overcurrent generated by electrostatic discharge and flowing from an image sensor unit to a serial clock line, a second diode for interrupting the overcurrent generated by the electrostatic discharge and flowing from the image sensor unit to a serial data line, a first switch for cutting off the connection between the image sensor unit and the serial clock line when electric power is not supplied through power line, and a second switch for cutting off the connection between the image sensor unit and the serial data line when the electric power is not supplied through the power line.