content@3.0.4 vulnerabilities

HTTP Content-* headers parsing

  • latest version

    4.0.6

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    6 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the content package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    content is a HTTP Content-* headers parsing

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. An attacker may pass a specially crafted Content-Type or Content-Disposition header, causing the server to hang. This can cause an impact of about 10 seconds matching time for data 180 characters long.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade content to versions 3.0.7, 4.0.4 or higher

    <3.0.7>=4.0.0 <4.0.4
    • M
    Regular Expression Denial of Service (ReDoS)

    content is HTTP Content-* headers parsing.

    Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS) attacks. An attacker may pass a specially crafted Content-Type or Content-Disposition header, causing the server to hang.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade content to version 3.0.6 or higher.

    <3.0.6