ADVISORIES

GitHub Advisory Database

GHSA-68fv-2mgg-jv7q

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

Details

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 packages

EcosystemPackageAffected versions
npmsource-map-js
From 1.0.0 before 1.2.2 (fixed in 1.2.2)

References