Severity: high

Denial of Service

subtext

Overview

Versions of subtext >=4.1.0 are vulnerable to Denial of Service. The Content-Encoding HTTP header parser has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. Because hapi rethrows system errors (as opposed to catching expected application errors), the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.

Remediation

This package is deprecated and is now maintained as @hapi/subtext. Please update your dependencies to use @hapi/subtext.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory Published
    Feb 17th, 2020
  2. reported

    Reported by Eran Hammer
    Feb 17th, 2020