Skip to content
OpenAdvisories
High · 7.5 CVE-2017-16118 EUVD-2018-0298GHSA-mpcf-4gmh-23w8

Regular Expression Denial of Service in forwarded

Published Jun 7, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

The forwarded module is used by the Express.js framework to handle the X-Forwarded-For header. It is vulnerable to a regular expression denial of service when it's passed specially crafted input to parse. This causes the event loop to be blocked causing a denial of service condition.

Affected products

VendorProductAffectedFixed
HackerOne forwarded node module < 0.1.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.

Azure Linux

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

Affected packages

EcosystemPackageAffectedFixedRecord
npm forwarded < 0.1.2 0.1.2 GHSA-mpcf-4gmh-23w8

References