Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-35165

6.6 · MEDIUM
Published Jun 23, 2023 amazon CWE-863 EPSS 0.90% (57th pctl)

Overview

CVE-2023-35165 is a medium-severity vulnerability affecting amazon aws_cloud_development_kit. It was published on June 23, 2023 and has a CVSS 3.1 base score of 6.6 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.6, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation. In the packages `aws-cdk-lib` 2.0.0 until 2.80.0 and `@aws-cdk/aws-eks` 1.57.0 until 1.202.0, `eks.Cluster` and `eks.FargateCluster` constructs create two roles, `CreationRole` and `default MastersRole`, that have an overly permissive trust policy.

The first, referred to as the `CreationRole`, is used by lambda handlers to create the cluster and deploy Kubernetes resources (e.g `KubernetesManifest`, `HelmChart`, ...) onto it. Users with CDK version higher or equal to 1.62.0 (including v2 users) may be affected.

The second, referred to as the `default MastersRole`, is provisioned only if the `mastersRole` property isn't provided and has permissions to execute `kubectl` commands on the cluster. Users with CDK version higher or equal to 1.57.0 (including v2 users) may be affected.

The issue has been fixed in `@aws-cd

Remediation

Check the references section for vendor advisories and patches from amazon. Update aws_cloud_development_kit to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
amazon aws_cloud_development_kit >= 1.57.0, < 1.202.0 Affected

Frequently Asked Questions

What is CVE-2023-35165?

CVE-2023-35165 is a medium-severity vulnerability affecting amazon aws_cloud_development_kit. It was published on June 23, 2023 and has a CVSS 3.1 base score of 6.6 (MEDIUM).

How severe is CVE-2023-35165?

This vulnerability has a CVSS 3.1 base score of 6.6, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-35165?

Check the references section for vendor advisories and patches from amazon. Update aws_cloud_development_kit to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-35165?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-35165 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.