Not using latest mq version increases the likelihood of getting exploited.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/upgrading-brokers.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/mq_broker#engine_version