@zkochan/hosted-git-info

@zkochan/hosted-git-info

Releases2
Frequency5 years 4 months
Last Release
Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
>= 2.0.0, < 2.8.9, >= 3.0.0, < 3.0.85.3 MEDIUM5 MEDIUM

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.