Amazon AWS amazon-ssm-agent before 3.1.1208.0 creates a world-writable sudoers file, which allows local attackers to inject Sudo rules and escalate privileges to root. This occurs in certain situations involving a race condition.
https://github.com/advisories/GHSA-87pw-p9qx-p46w
https://github.com/aws/amazon-ssm-agent/releases/tag/3.1.1208.0
https://github.com/aws/amazon-ssm-agent/commit/0fe8ae99b2ff25649c7b86d3bc05fc037400aca7