Skip to content
OpenAdvisories
High · 7.5 CVE-2017-16119 EUVD-2018-0256GHSA-9qj9-36jm-prpv

Regular Expression Denial of Service in fresh

Published Jun 7, 2018 · Updated Oct 8, 2026 · Assigned by hackerone

Description

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 products

VendorProductAffectedFixed
HackerOne fresh node module < 0.5.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-fresh 0.2.0-2 —
Debian 13 node-fresh 0.2.0-2 —
Debian 12 node-fresh 0.2.0-2 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-fresh No fix yet —
Ubuntu 16.04 LTS node-fresh No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs-nodemon No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fresh < 0.5.2 0.5.2 GHSA-9qj9-36jm-prpv

References