-
Notifications
You must be signed in to change notification settings - Fork 313
aws-cdk-lib-2.241.0.tgz: 2 vulnerabilities (highest severity is: 6.5) #6689
Description
Vulnerable Library - aws-cdk-lib-2.241.0.tgz
Path to dependency file: /testing/aws-testing-cdk/package.json
Path to vulnerable library: /testing/aws-testing-cdk/package.json,/release/staging-resources-cdk/package.json
Found in HEAD commit: 73b809ab2966482ce9b0e8fb5bfc8d3d9da781bc
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (aws-cdk-lib version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2026-33750 | 6.5 | brace-expansion-5.0.3.tgz | Transitive | N/A* | ❌ | |
| CVE-2026-33532 | 4.3 | yaml-1.10.2.tgz | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2026-33750
Vulnerable Library - brace-expansion-5.0.3.tgz
Brace expansion as known from sh/bash
Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz
Path to dependency file: /testing/aws-testing-cdk/package.json
Path to vulnerable library: /testing/aws-testing-cdk/package.json
Dependency Hierarchy:
- aws-cdk-lib-2.241.0.tgz (Root Library)
- minimatch-10.2.4.tgz
- ❌ brace-expansion-5.0.3.tgz (Vulnerable Library)
- minimatch-10.2.4.tgz
Found in HEAD commit: 73b809ab2966482ce9b0e8fb5bfc8d3d9da781bc
Found in base branch: main
Vulnerability Details
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13, a brace pattern with a zero step value (e.g., "{1..2..0}") causes the sequence generation loop to run indefinitely, making the process hang for seconds and allocate heaps of memory. Versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13 fix the issue. As a workaround, sanitize strings passed to "expand()" to ensure a step value of "0" is not used.
Publish Date: 2026-03-27
URL: CVE-2026-33750
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Release Date: 2026-03-27
Fix Resolution: https://github.com/juliangruber/brace-expansion.git - v2.0.3,https://github.com/juliangruber/brace-expansion.git - v3.0.2,https://github.com/juliangruber/brace-expansion.git - v5.0.5,https://github.com/juliangruber/brace-expansion.git - v1.1.13
CVE-2026-33532
Vulnerable Library - yaml-1.10.2.tgz
JavaScript parser and stringifier for YAML
Library home page: https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz
Path to dependency file: /testing/aws-testing-cdk/package.json
Path to vulnerable library: /testing/aws-testing-cdk/package.json,/release/staging-resources-cdk/package.json
Dependency Hierarchy:
- aws-cdk-lib-2.241.0.tgz (Root Library)
- ❌ yaml-1.10.2.tgz (Vulnerable Library)
Found in HEAD commit: 73b809ab2966482ce9b0e8fb5bfc8d3d9da781bc
Found in base branch: main
Vulnerability Details
"yaml" is a YAML parser and serialiser for JavaScript. Parsing a YAML document with a version of "yaml" on the 1.x branch prior to 1.10.3 or on the 2.x branch prior to 2.8.3 may throw a RangeError due to a stack overflow. The node resolution/composition phase uses recursive function calls without a depth bound. An attacker who can supply YAML for parsing can trigger a "RangeError: Maximum call stack size exceeded" with a small payload (~2–10 KB). The "RangeError" is not a "YAMLParseError", so applications that only catch YAML-specific errors will encounter an unexpected exception type. Depending on the host application's exception handling, this can fail requests or terminate the Node.js process. Flow sequences allow deep nesting with minimal bytes (2 bytes per level: one "[" and one "]"). On the default Node.js stack, approximately 1,000–5,000 levels of nesting (2–10 KB input) exhaust the call stack. The exact threshold is environment-dependent (Node.js version, stack size, call stack depth at invocation). Note: the library's "Parser" (CST phase) uses a stack-based iterative approach and is not affected. Only the compose/resolve phase uses actual call-stack recursion. All three public parsing APIs are affected: "YAML.parse()", "YAML.parseDocument()", and "YAML.parseAllDocuments()". Versions 1.10.3 and 2.8.3 contain a patch.
Publish Date: 2026-03-26
URL: CVE-2026-33532
CVSS 3 Score Details (4.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Release Date: 2026-03-25
Fix Resolution: https://github.com/eemeli/yaml.git - v1.10.3,https://github.com/eemeli/yaml.git - v2.8.3
Metadata
Metadata
Assignees
Labels
Type
Projects
Status