Advisory

GHSA-mg85-8mv5-ffjr

Also known as: None

Summary

Denial of Service in ammo

Details

All versions of ammo are vulnerable to Denial of Service. The Range HTTP header parser has a vulnerability which will cause the function to throw a system error if the header is set to an invalid value. Because hapi is not expecting the function to ever throw, the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.

Recommendation

This package is deprecated and is now maintained as @hapi/ammo. Please update your dependencies to use @hapi/ammo.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

ammo

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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