Exact definition of the properties "Liveness" and "Safety" in consensus?

Two main features of a consensus are "vitality" and "security".

What is the exact and accurate definition of "vitality" and "security"Properties in a consensus?

Are the following definitions correct?

  • Security: To reach an agreement of all participants to a single state?

  • vitality: Possibility to update this state in compliance with the agreement?