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

erusev/parsedown-1.6.4: 2 vulnerabilities (highest severity is: 8.1) #1130

Open
mend-for-github-com bot opened this issue May 5, 2024 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 5, 2024

Vulnerable Library - erusev/parsedown-1.6.4

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (erusev/parsedown version) Remediation Possible** Reachability
CVE-2019-10905 High 8.1 erusev/parsedown-1.6.4 Direct 1.7.2
CVE-2018-1000162 Low 3.7 erusev/parsedown-1.6.4 Direct 1.7.0

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

Details

CVE-2019-10905

Vulnerable Library - erusev/parsedown-1.6.4

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548

Dependency Hierarchy:

  • erusev/parsedown-1.6.4 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a script (already running on the affected page) executes the contents of any element with a specific class. This occurs because spaces are permitted in code block infostrings, which interferes with the intended behavior of a single class name beginning with the language- substring.

Publish Date: 2019-04-06

URL: CVE-2019-10905

CVSS 3 Score Details (8.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10905

Release Date: 2019-04-06

Fix Resolution: 1.7.2

CVE-2018-1000162

Vulnerable Library - erusev/parsedown-1.6.4

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548

Dependency Hierarchy:

  • erusev/parsedown-1.6.4 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in setMarkupEscaped for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.
Mend Note: Converted from WS-2018-0027, on 2022-11-08.

Publish Date: 2018-04-18

URL: CVE-2018-1000162

CVSS 3 Score Details (3.7)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-1000162

Release Date: 2018-04-18

Fix Resolution: 1.7.0

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

No branches or pull requests

0 participants