Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40aws-cdk/aws-eks@1.98.0
Typenpm
Namespace@aws-cdk
Nameaws-eks
Version1.98.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.202.0
Latest_non_vulnerable_version1.202.0
Affected_by_vulnerabilities
0
url VCID-916a-bfkj-yyh7
vulnerability_id VCID-916a-bfkj-yyh7
summary
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-cdk/aws-eks` v1.202.0 and `aws-cdk-lib` v2.80.0. These versions no longer use the account root principal. Instead, they restrict the trust policy to the specific roles of lambda handlers that need it. There is no workaround available for CreationRole. To avoid creating the `default MastersRole`, use the `mastersRole` property to explicitly provide a role.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-35165
reference_id
reference_type
scores
0
value 0.00065
scoring_system epss
scoring_elements 0.20558
published_at 2026-06-13T12:55:00Z
1
value 0.00065
scoring_system epss
scoring_elements 0.20536
published_at 2026-06-14T12:55:00Z
2
value 0.00065
scoring_system epss
scoring_elements 0.20537
published_at 2026-06-12T12:55:00Z
3
value 0.00065
scoring_system epss
scoring_elements 0.20361
published_at 2026-06-11T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-35165
1
reference_url https://github.com/aws/aws-cdk
reference_id
reference_type
scores
0
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-35165
reference_id
reference_type
scores
0
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-35165
3
reference_url https://github.com/aws/aws-cdk/issues/25674
reference_id 25674
reference_type
scores
0
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T16:12:30Z/
url https://github.com/aws/aws-cdk/issues/25674
4
reference_url https://github.com/advisories/GHSA-rx28-r23p-2qc3
reference_id GHSA-rx28-r23p-2qc3
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-rx28-r23p-2qc3
5
reference_url https://github.com/aws/aws-cdk/security/advisories/GHSA-rx28-r23p-2qc3
reference_id GHSA-rx28-r23p-2qc3
reference_type
scores
0
value 6.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-12-05T16:12:30Z/
url https://github.com/aws/aws-cdk/security/advisories/GHSA-rx28-r23p-2qc3
fixed_packages
0
url pkg:npm/%40aws-cdk/aws-eks@1.202.0
purl pkg:npm/%40aws-cdk/aws-eks@1.202.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540aws-cdk/aws-eks@1.202.0
1
url pkg:npm/%40aws-cdk/aws-eks@2.80.0
purl pkg:npm/%40aws-cdk/aws-eks@2.80.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540aws-cdk/aws-eks@2.80.0
aliases CVE-2023-35165, GHSA-rx28-r23p-2qc3
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-916a-bfkj-yyh7
Fixing_vulnerabilities
Risk_score3.1
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540aws-cdk/aws-eks@1.98.0