opensearch-project / opensearch-project/maps

aws-cdk-lib-2.260.0.tgz: 2 vulnerabilities (highest severity is: 7.5)

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability untriaged
Dominant language
TypeScript
Stars
9
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Vulnerable Library - aws-cdk-lib-2.260.0.tgz

Path to dependency file: /tiles-generation/cdk/package.json

Path to vulnerable library: /tiles-generation/cdk/node_modules/aws-cdk-lib/node_modules/brace-expansion/package.json

Found in HEAD commit: d4eedfee5988a29d020dcf10a934c7586625d113

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (aws-cdk-lib version) Remediation Possible**
CVE-2026-13676 High 7.5 fast-uri-3.1.2.tgz Transitive N/A*
CVE-2026-13149 High 7.5 brace-expansion-5.0.6.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-13676
Vulnerable Library - fast-uri-3.1.2.tgz

Dependency-free RFC 3986 URI toolbox

Library home page: https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz

Path to dependency file: /tiles-generation/cdk/package.json

Path to vulnerable library: /tiles-generation/cdk/node_modules/aws-cdk-lib/node_modules/fast-uri/package.json

Dependency Hierarchy:

  • aws-cdk-lib-2.260.0.tgz (Root Library)
    • table-6.9.0.tgz
      • ajv-8.20.0.tgz
        • fast-uri-3.1.2.tgz (Vulnerable Library)

Found in HEAD commit: d4eedfee5988a29d020dcf10a934c7586625d113

Found in base branch: main

Vulnerability Details

fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.

Publish Date: 2026-06-29

URL: CVE-2026-13676

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/fastify/fast-uri/security/advisories/GHSA-4c8g-83qw-93j6

Release Date: 2026-06-29

Fix Resolution: fast-uri - 3.1.3,fast-uri - 4.0.1

CVE-2026-13149
Vulnerable Library - brace-expansion-5.0.6.tgz

Brace expansion as known from sh/bash

Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz

Path to dependency file: /tiles-generation/cdk/package.json

Path to vulnerable library: /tiles-generation/cdk/node_modules/aws-cdk-lib/node_modules/brace-expansion/package.json

Dependency Hierarchy:

  • aws-cdk-lib-2.260.0.tgz (Root Library)
    • minimatch-10.2.5.tgz
      • brace-expansion-5.0.6.tgz (Vulnerable Library)

Found in HEAD commit: d4eedfee5988a29d020dcf10a934c7586625d113

Found in base branch: main

Vulnerability Details

brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.

Publish Date: 2026-06-30

URL: CVE-2026-13149

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-30

Fix Resolution: brace-expansion - 5.0.7,https://github.com/juliangruber/brace-expansion.git - v5.0.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /tiles-generation/cdk/package.json and trace the reported dependency hierarchies from aws-cdk-lib through ajv and minimatch. Determine whether available dependency updates reach fast-uri 3.1.3 and brace-expansion 5.0.7, then rerun the dependency vulnerability scan. Done means both reported CVEs are resolved or the scanner confirms no applicable remediation is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
infrastructure, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.