Skip to main content
Menu
Advisories

source-map-js allows event-loop denial of service through indexed source-map section offsets

GHSA-68FV-2MGG-JV7QPublished Updated GitHub

Description

source-map-js through 1.2.1 fails to validate the per-section offset line value in indexed source maps, allowing attackers to specify arbitrary numeric values. Attackers can supply extremely large offset line values that cause synchronous event loop blocking for extended periods, preventing the service from handling other requests.

Affected versions

References