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

CVE-2021-39199 (High) detected in remark-html-7.0.0.tgz - autoclosed #321

Closed
mend-bolt-for-github bot opened this issue Sep 9, 2021 · 1 comment · Fixed by #319
Closed

CVE-2021-39199 (High) detected in remark-html-7.0.0.tgz - autoclosed #321

mend-bolt-for-github bot opened this issue Sep 9, 2021 · 1 comment · Fixed by #319
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

CVE-2021-39199 - High Severity Vulnerability

Vulnerable Library - remark-html-7.0.0.tgz

Compile Markdown to HTML with remark

Library home page: https://registry.npmjs.org/remark-html/-/remark-html-7.0.0.tgz

Path to dependency file: node/tools/doc/package.json

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

Dependency Hierarchy:

  • remark-html-7.0.0.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: remark-html is now safe by default, and the implementation matches the documentation. On older affected versions, pass sanitize: true if you cannot update.

Publish Date: 2021-09-07

URL: CVE-2021-39199

CVSS 3 Score Details (10.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9q5w-79cv-947m

Release Date: 2021-09-07

Fix Resolution: remark-html - 13.0.2,14.0.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 9, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-39199 (High) detected in remark-html-7.0.0.tgz CVE-2021-39199 (High) detected in remark-html-7.0.0.tgz - autoclosed Sep 9, 2021
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 WhiteSource
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants