Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@carbon/charts-1.22.8.tgz: 1 vulnerabilities (highest severity is: 6.1) #1933

Open
ibm-mend-app bot opened this issue Dec 20, 2024 · 1 comment
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@ibm-mend-app
Copy link
Contributor

ibm-mend-app bot commented Dec 20, 2024

Vulnerable Library - @carbon/charts-1.22.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: b36478444e600d3ac766537a53a34f0d06aa4527

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (@carbon/charts version) Remediation Possible**
WS-2024-0017 Medium 6.1 dompurify-3.2.1.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

WS-2024-0017

Vulnerable Library - dompurify-3.2.1.tgz

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin

Library home page: https://registry.npmjs.org/dompurify/-/dompurify-3.2.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • @carbon/charts-1.22.8.tgz (Root Library)
    • dompurify-3.2.1.tgz (Vulnerable Library)

Found in HEAD commit: b36478444e600d3ac766537a53a34f0d06aa4527

Found in base branch: master

Vulnerability Details

Insufficient checks in DOMPurify allows an attacker to bypass sanitizers and execute arbitrary JavaScript code. This issue affects versions before 2.5.8 and 3.x before 3.2.3.

Publish Date: 2024-02-08

URL: WS-2024-0017

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/cure53/DOMPurify/releases/tag/2.5.8

Release Date: 2024-02-08

Fix Resolution: domPurify - 2.5.8,3.2.3

@ibm-mend-app ibm-mend-app bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 20, 2024
@vnikiten01
Copy link

I believe version dompurify-3.2.3 is whats documented as the resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

1 participant