Updated postgresql packages has been released for Ubuntu Linux 14.04 LTS, 16.04 LTS, and 17.10
PostgreSQL Security Updates for Ubuntu Linux
PostgreSQL Security Updates for Ubuntu Linux