VDB
Sign up
HIGH

GHSA-vwjc-q9px-r9vq

Denial of Service in ecstatic

Quick fix

GHSA-vwjc-q9px-r9vq — ecstatic: upgrade to the fixed version with the command below.

npm install ecstatic@1.4.0

Details

Versions of `ecstatic` prior to 1.4.0 are affected by a denial of service vulnerability when certain input strings are sent via the `Last-Modified` or `If-Modified-Since` headers.

Parsing certain inputs with `new Date()` or `Date.parse()` cases v8 to crash. As ecstatic passes the value of the affected headers into one of these functions, sending certain inputs via one of the headers will cause the server to crash.

## Recommendation

Update to version 1.4.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ecstatic
Introduced in: 0Fixed in: 1.4.0
Fixnpm install ecstatic@1.4.0

References