ADVISORIES

GitHub Advisory Database

GHSA-g2gw-q38m-vjfc

Lokka: Azure Resource Manager URL path validation issue

Details

Lokka versions prior to 2.1.2 constructed Azure Resource Manager request URLs using direct string concatenation with user-controlled path input. Specially crafted path values could alter URL authority parsing and cause Azure Resource Manager bearer tokens to be sent to an unintended host. Version 2.1.2 fixes the issue by validating Azure paths before token acquisition and constructing Azure Resource Manager URLs with the standard URL API while preserving the expected management.azure.com host.

Reported by 정해창 <[email protected]>

Affected packages

EcosystemPackageAffected versions
npm@merill/lokka
All versions before 2.1.2 (fixed in 2.1.2)

References