---
id: CVE-2017-16119
title: >-
  Fresh is a module used by the Express.js framework for HTTP response freshness
  testing
summary: >-
  Fresh is a module used by the Express.js framework for HTTP response freshness
  testing. It is vulnerable to a regular expression denial of service when it is
  passed specially crafted input to parse. This causes the event loop to be
  block…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-400
vendor: fresh_project
product: fresh
affected:
  - fresh < 0.5.2
patched:
  - fresh 0.5.2
published: '2018-06-07'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T20:17:26.467'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2017-16119'
references:
  - url: 'https://nodesecurity.io/advisories/526'
    label: support@hackerone.com
  - url: 'https://nodesecurity.io/advisories/526'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01584
epssPercentile: 0.74808
ingestedAt: '2026-10-08T21:07:56.393Z'
---

## Overview

Fresh is a module used by the Express.js framework for HTTP response freshness testing. It is vulnerable to a regular expression denial of service when it is passed specially crafted input to parse. This causes the event loop to be blocked causing a denial of service condition.

## Affected

- `fresh < 0.5.2`

## Remediation

Upgrade past the affected range:

- `fresh 0.5.2`
