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

ansi_up-4.0.4.tgz: 1 vulnerabilities (highest severity is: 6.1) reachable #6

Open
dev-mend-for-github-com bot opened this issue Oct 16, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Oct 16, 2023

Vulnerable Library - ansi_up-4.0.4.tgz

Convert ansi sequences in strings to colorful HTML

Library home page: https://registry.npmjs.org/ansi_up/-/ansi_up-4.0.4.tgz

Path to dependency file: /console2/package.json

Path to vulnerable library: /console2/node_modules/ansi_up/package.json

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ansi_up version) Remediation Possible** Reachability
CVE-2021-3377 Medium 6.1 ansi_up-4.0.4.tgz Direct 5.0.0

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-3377

Vulnerable Library - ansi_up-4.0.4.tgz

Convert ansi sequences in strings to colorful HTML

Library home page: https://registry.npmjs.org/ansi_up/-/ansi_up-4.0.4.tgz

Path to dependency file: /console2/package.json

Path to vulnerable library: /console2/node_modules/ansi_up/package.json

Dependency Hierarchy:

  • ansi_up-4.0.4.tgz (Vulnerable Library)

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

concord-console-1.0.0/src/utils.js (Application)
  -> ❌ ansi_up-4.0.4/ansi_up.js (Vulnerable Component)

Vulnerability Details

The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.

Publish Date: 2021-03-05

URL: CVE-2021-3377

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

Release Date: 2021-03-05

Fix Resolution: 5.0.0

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Oct 16, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title ansi_up-4.0.4.tgz: 1 vulnerabilities (highest severity is: 6.1) ansi_up-4.0.4.tgz: 1 vulnerabilities (highest severity is: 6.1) reachable Jan 16, 2024
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

0 participants