Denial of Service - Illegal access crash from if-modified-since header

Module: ecstatic

Published: December 23rd, 2015

Reported by: James Halliday

CVE-NONE

CWE-730

Vulnerable: <1.4.0
Patched: >=1.4.0

Overview

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.

Remediation

Update to version 1.4.0 or later.

References

[PR #179]https://github.com/jfhbrook/node-ecstatic/pull/179 [V8 Bug Tracker - Bug #4640]https://bugs.chromium.org/p/v8/issues/detail?id=4640