Avast should not be affected.
Heartbleed is an issue with OpenSSL, so the website and server owners need to update or patch it.
http://www.ubuntu.com/usn/usn-2165-1/
http://www.ubuntu.com/usn/usn-2164-1/