In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade cdk
to version 2.178.2 or higher.
cdk is an AWS CDK Toolkit
Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere through the expiration
property in the credentials object. An attacker can gain access to AWS credentials by configuring a credential plugin to include this property.
Note:
Plugins that omit the expiration
property are not vulnerable by this issue.
Remove the expiration property from the object returned by the plugin.
Note that this will prevent the CDK CLI from refreshing the credentials when needed, and may cause your workflow to fail on an expired credentials error.
return {
accessKeyId: assumeRoleOutput.Credentials.AccessKeyId,
secretAccessKey: assumeRoleOutput.Credentials.SecretAccessKey,
sessionToken: