Skip to content

Perceived vulnerability (uncontrolled resource consumption) related to showdown #4201

@tyner

Description

@tyner

When Sonatype scans shiny (version 1.10.0 and also previous ones), sonatype-2018-0667 comes up:

The showdown package is vulnerable to Regular Expression Denial of Service (ReDoS) attacks. The hashHTMLBlocks parser defined in the hashHTMLBlocks.js file uses an unsafe regular expression to parse standalone HTML comments in user-supplied markdown. A remote attacker can exploit this vulnerability with markdown containing crafted HTML comments. This will result in catastrophic backtracking, causing affected applications to hang as they attempt to process the markdown.

For more information, refer to:
meteor/meteor#9731
showdownjs/showdown#276

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions