openEuler Security Advisory
OESA-2021-1168
nodejs-hosted-git-info security update
Details
Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Security Fix(es):
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.(CVE-2021-23362)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | nodejs-hosted-git-info | All versions before 2.1.4-2.oe1 (fixed in 2.1.4-2.oe1) |