It is recommended to renew your passport. Some airlines and other countries require your passport to be valid for at least six months, and it is generally recommended that you travel with a passport that is valid for at least six months. Please check with the airline that you are flying with and with the relevant embassies of the countries that you are flying through.
It is also recommended that you renew your passport before applying for a student visa, as the student visa is linked to your passport number.