Re:We reported a security issue in AWS CDK’s eks.Cluster com...
by runamok on Tuesday June 06, 2023 @08:31PM
(#36221105)
That's a bit different and (like ec2 and other services) governed by IAM:Passrole. Whoever creates the lambda or ec2 needs to be allowed to assign that role. Otherwise it would allow privilege escalation.
Just like you, I'm not arguing the defense in depth part. Always a good idea to put fine-grained permissions where possible. But I also find the "vulnerability" part a tiny bit overstated.