Advisory

GHSA-23vw-mhv5-grv5

Also known as: None

Summary

Denial of Service in @hapi/hapi

Details

Versions of @hapi/hapi prior to 18.4.1 or 19.1.1 are vulnerable to Denial of Service. The CORS request handler has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.

Recommendation

Upgrade to versions 18.4.1, 19.1.1 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 15:48 UTC
Modified
2020-08-31 19:00 UTC

Affected packages and fixes

@hapi/hapi

npm · All systems

Affected

  • introduced 0, fixed 18.4.1 (semver)

Fixed versions

18.4.1

Fix

@hapi/hapi

npm · All systems

Affected

  • introduced 19.0.0, fixed 19.1.1 (semver)

Fixed versions

19.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences