tt9133github / kubernetes

Production-Grade Container Scheduling and Management
https://kubernetes.io
Apache License 2.0
0 stars 0 forks source link

CVE-2021-35513 (Medium) detected in multiple libraries #111

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-35513 - Medium Severity Vulnerability

Vulnerable Libraries - mermaid-7.1.2.js, mermaid-0.5.6.min.js, mermaid-7.1.2.tgz

mermaid-7.1.2.js

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mermaid/7.1.2/mermaid.js

Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/node_modules/mermaid/dist/index.html

Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/mermaid/dist/./mermaid.js

Dependency Hierarchy: - :x: **mermaid-7.1.2.js** (Vulnerable Library)

mermaid-0.5.6.min.js

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mermaid/0.5.6/mermaid.min.js

Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/node_modules/gitbook-plugin-mermaid/convert/converter.html

Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/gitbook-plugin-mermaid/convert/./assets/mermaid.min.js

Dependency Hierarchy: - :x: **mermaid-0.5.6.min.js** (Vulnerable Library)

mermaid-7.1.2.tgz

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.

Library home page: https://registry.npmjs.org/mermaid/-/mermaid-7.1.2.tgz

Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/package.json

Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/mermaid/package.json

Dependency Hierarchy: - gitbook-plugin-mermaid-gb3-2.1.0.tgz (Root Library) - :x: **mermaid-7.1.2.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

Publish Date: 2021-06-27

URL: CVE-2021-35513

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-4f6x-49g2-99fm

Release Date: 2021-06-27

Fix Resolution: mermaid - 8.11.0


Step up your Open Source Security Game with Mend here