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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-fresh | 0.2.0-2 | — |
| Debian 13 | node-fresh | 0.2.0-2 | — |
| Debian 12 | node-fresh | 0.2.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-fresh | No fix yet | — |
| Ubuntu 16.04 LTS | node-fresh | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs-nodemon | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | fresh | < 0.5.2 | 0.5.2 | GHSA-9qj9-36jm-prpv |