ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2021-23362

Details

The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:18.04:LTSnode-hosted-git-info
All versions before 2.5.0-1ubuntu0.1~esm1 (fixed in 2.5.0-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSnode-hosted-git-info
All versions before 2.8.5-1ubuntu0.1~esm1 (fixed in 2.8.5-1ubuntu0.1~esm1)

References