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

html-parse-stringify2-2.0.1.tgz: 1 vulnerabilities (highest severity is: 5.3) #6

Open
mend-for-github-com bot opened this issue Feb 8, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

Vulnerable Library - html-parse-stringify2-2.0.1.tgz

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

Library home page: https://registry.npmjs.org/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/html-parse-stringify2/package.json

Found in HEAD commit: 79859a7465b541051407125fbc97d67425b33dc4

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2021-23346 Medium 5.3 html-parse-stringify2-2.0.1.tgz Direct html-parse-stringify 2.0.1

Details

CVE-2021-23346

Vulnerable Library - html-parse-stringify2-2.0.1.tgz

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

Library home page: https://registry.npmjs.org/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/html-parse-stringify2/package.json

Dependency Hierarchy:

  • html-parse-stringify2-2.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 79859a7465b541051407125fbc97d67425b33dc4

Found in base branch: master

Vulnerability Details

This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

Publish Date: 2021-03-04

URL: CVE-2021-23346

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-545q-3fg6-48m7

Release Date: 2021-03-04

Fix Resolution: html-parse-stringify 2.0.1

⛑️ Automatic Remediation is available for this issue


⛑️ Automatic Remediation is available for this issue.

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants