Lookup for vulnerable packages by Package URL.

Purlpkg:npm/aws-cdk-lib@2.61.0
Typenpm
Namespace
Nameaws-cdk-lib
Version2.61.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version2.189.1
Latest_non_vulnerable_version2.189.1
Affected_by_vulnerabilities
0
url VCID-7atv-5krn-jfhs
vulnerability_id VCID-7atv-5krn-jfhs
summary
AWS CDK CodePipeline: trusted entities are too broad
The [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) is an open-source framework for defining cloud infrastructure using code. Users use it to create their own applications, which are converted to AWS CloudFormation templates during deployment to a user's AWS account. AWS CDK contains pre-built components called "constructs," which are higher-level abstractions providing defaults and best practices. This approach enables developers to use familiar programming languages to define complex cloud infrastructure more efficiently than writing raw CloudFormation templates.

The [AWS CodePipeline](https://aws.amazon.com/codepipeline/) construct deploys CodePipeline, a managed service that orchestrates software release processes through a series of stages, each comprising one or more actions executed by CodePipeline. To perform these actions, CodePipeline assumes IAM roles with permissions necessary for each step, allowing it to interact with AWS services and resources on behalf of the user.

An issue exists where, when using CDK to create a CodePipeline with the CDK Construct Library, CDK creates an AWS Identity and Access Management (AWS IAM) trust policy with overly broad permissions. Any user with unrestricted sts:AssumeRole permissions could assume that trust policy. This issue does not affect users who supply their own role for CodePipeline.
references
0
reference_url https://github.com/aws/aws-cdk
reference_id
reference_type
scores
0
value 3.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk
1
reference_url https://github.com/aws/aws-cdk/commit/a64b01cc2969822bb92d7bd72152ecb2ccf1c1cf
reference_id
reference_type
scores
0
value 3.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/commit/a64b01cc2969822bb92d7bd72152ecb2ccf1c1cf
2
reference_url https://github.com/aws/aws-cdk/issues/33709
reference_id
reference_type
scores
0
value 3.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/issues/33709
3
reference_url https://github.com/aws/aws-cdk/releases/tag/v2.184.0
reference_id
reference_type
scores
0
value 3.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/releases/tag/v2.184.0
4
reference_url https://github.com/advisories/GHSA-5pq3-h73f-66hr
reference_id GHSA-5pq3-h73f-66hr
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5pq3-h73f-66hr
5
reference_url https://github.com/aws/aws-cdk/security/advisories/GHSA-5pq3-h73f-66hr
reference_id GHSA-5pq3-h73f-66hr
reference_type
scores
0
value 3.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
1
value LOW
scoring_system cvssv3.1_qr
scoring_elements
2
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/security/advisories/GHSA-5pq3-h73f-66hr
fixed_packages
0
url pkg:npm/aws-cdk-lib@2.189.0
purl pkg:npm/aws-cdk-lib@2.189.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mvq3-wt2a-sfaj
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/aws-cdk-lib@2.189.0
aliases GHSA-5pq3-h73f-66hr
risk_score 1.7
exploitability 0.5
weighted_severity 3.4
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-7atv-5krn-jfhs
1
url VCID-av9z-h99e-gfhz
vulnerability_id VCID-av9z-h99e-gfhz
summary
aws-cdk-lib has Insertion of Sensitive Information into Log File vulnerability when using Cognito UserPoolClient Construct
The [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) is an open-source framework for defining cloud infrastructure using code. Customers use it to create their own applications which are converted to AWS CloudFormation templates during deployment to a customer’s AWS account. CDK contains pre-built components called "[constructs](https://docs.aws.amazon.com/cdk/v2/guide/constructs.html)" that are higher-level abstractions providing defaults and best practices. This approach enables developers to use familiar programming languages to define complex cloud infrastructure more efficiently than writing raw CloudFormation templates.
references
0
reference_url https://github.com/aws/aws-cdk
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk
1
reference_url https://github.com/aws/aws-cdk/commit/d02e64aac18a72195ddcdb973defea7f32382c33
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/commit/d02e64aac18a72195ddcdb973defea7f32382c33
2
reference_url https://github.com/advisories/GHSA-qq4x-c6h6-rfxh
reference_id GHSA-qq4x-c6h6-rfxh
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qq4x-c6h6-rfxh
3
reference_url https://github.com/aws/aws-cdk/security/advisories/GHSA-qq4x-c6h6-rfxh
reference_id GHSA-qq4x-c6h6-rfxh
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk/security/advisories/GHSA-qq4x-c6h6-rfxh
fixed_packages
0
url pkg:npm/aws-cdk-lib@2.187.0
purl pkg:npm/aws-cdk-lib@2.187.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mvq3-wt2a-sfaj
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/aws-cdk-lib@2.187.0
aliases GHSA-qq4x-c6h6-rfxh
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-av9z-h99e-gfhz
2
url VCID-bdsy-e2yq-dua9
vulnerability_id VCID-bdsy-e2yq-dua9
summary
Incorrect Authorization
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.20349
published_at 2026-06-07T12:55:00Z
1
value 0.00065
scoring_system epss
scoring_elements 0.20292
published_at 2026-06-09T12:55:00Z
2
value 0.00065
scoring_system epss
scoring_elements 0.20283
published_at 2026-06-08T12:55:00Z
3
value 0.00065
scoring_system epss
scoring_elements 0.20388
published_at 2026-06-06T12:55:00Z
4
value 0.00065
scoring_system epss
scoring_elements 0.20399
published_at 2026-06-05T12: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://github.com/aws/aws-cdk/issues/25674
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
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
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-35165
reference_id CVE-2023-35165
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
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/aws-cdk-lib@2.80.0
purl pkg:npm/aws-cdk-lib@2.80.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-7atv-5krn-jfhs
1
vulnerability VCID-av9z-h99e-gfhz
2
vulnerability VCID-jx3v-jmw3-sqb8
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/aws-cdk-lib@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-bdsy-e2yq-dua9
3
url VCID-jx3v-jmw3-sqb8
vulnerability_id VCID-jx3v-jmw3-sqb8
summary
AWS Cloud Development Kit (AWS CDK) IAM OIDC custom resource allows connection to unauthorized OIDC provider
Users who use IAM OIDC custom resource provider package will download CA Thumbprints as part of the custom resource workflow, https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34.

However, the current `tls.connect` method will always set `rejectUnauthorized: false` which is a potential security concern. CDK should follow the best practice and set `rejectUnauthorized: true`. However, this could be a breaking change for existing CDK applications and we should fix this with a feature flag.

Note that this is marked as low severity Security advisory because the issuer url is provided by CDK users who define the CDK application. If they insist on connecting to a unauthorized OIDC provider, CDK should not disallow this. Additionally, the code block is run in a Lambda environment which mitigate the MITM attack.

As a best practice, CDK should still fix this issue under a feature flag to avoid regression.

```
packages/@aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts
❯❱ problem-based-packs.insecure-transport.js-node.bypass-tls-verification.bypass-tls-verification
Checks for setting the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0, which disables TLS
verification. This should only be used for debugging purposes. Setting the option rejectUnauthorized
to false bypasses verification against the list of trusted CAs, which also leads to insecure
transport.
```
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-23206
reference_id
reference_type
scores
0
value 0.00068
scoring_system epss
scoring_elements 0.21123
published_at 2026-06-06T12:55:00Z
1
value 0.00068
scoring_system epss
scoring_elements 0.21135
published_at 2026-06-05T12:55:00Z
2
value 0.00068
scoring_system epss
scoring_elements 0.21079
published_at 2026-06-07T12:55:00Z
3
value 0.00092
scoring_system epss
scoring_elements 0.25844
published_at 2026-06-09T12:55:00Z
4
value 0.00092
scoring_system epss
scoring_elements 0.25839
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2025-23206
1
reference_url https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html
2
reference_url https://github.com/aws/aws-cdk
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cdk
3
reference_url https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34
4
reference_url https://github.com/aws/aws-cdk/commit/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e#diff-38a03353f201fd2e520df67fb43f9f000257bffd6e9acaa5569cce7005a77560
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/commit/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e#diff-38a03353f201fd2e520df67fb43f9f000257bffd6e9acaa5569cce7005a77560
5
reference_url https://github.com/aws/aws-cdk/issues/32920
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/issues/32920
6
reference_url https://github.com/aws/aws-cdk/pull/32921
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/pull/32921
7
reference_url https://github.com/aws/aws-cdk/releases/tag/v2.177.0
reference_id
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/releases/tag/v2.177.0
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-23206
reference_id CVE-2025-23206
reference_type
scores
0
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-23206
9
reference_url https://github.com/advisories/GHSA-v4mq-x674-ff73
reference_id GHSA-v4mq-x674-ff73
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-v4mq-x674-ff73
10
reference_url https://github.com/aws/aws-cdk/security/advisories/GHSA-v4mq-x674-ff73
reference_id GHSA-v4mq-x674-ff73
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
1
value 1.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
2
value LOW
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-17T20:59:53Z/
url https://github.com/aws/aws-cdk/security/advisories/GHSA-v4mq-x674-ff73
fixed_packages
0
url pkg:npm/aws-cdk-lib@2.177.0
purl pkg:npm/aws-cdk-lib@2.177.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-7atv-5krn-jfhs
1
vulnerability VCID-av9z-h99e-gfhz
2
vulnerability VCID-mvq3-wt2a-sfaj
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/aws-cdk-lib@2.177.0
aliases CVE-2025-23206, GHSA-v4mq-x674-ff73
risk_score 1.4
exploitability 0.5
weighted_severity 2.7
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-jx3v-jmw3-sqb8
Fixing_vulnerabilities
Risk_score3.1
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/aws-cdk-lib@2.61.0