vulnerabilities in PostgreSQL

We are getting a warning about vulnerabilities in PostgreSQL.
How should we update? I already used the built-in update function.