Mason jars are meant for canning & can stand up to heat & repeated use. Kern and Ball are the most common brands in the states & can be found in some grocery stores &, oddly, harware stores. They're pretty cheap & damn useful.

Using a pasta sauce jar is more of a crap shoot - it may work just fine, & it may just... crack.

Your ventilation should be fine.