OESA-2021-1168

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1168
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1168.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1168
Upstream
Published
2021-05-06T11:02:52Z
Modified
2025-08-12T05:07:31.995583Z
Summary
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)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / nodejs-hosted-git-info

Package

Name
nodejs-hosted-git-info
Purl
pkg:rpm/openEuler/nodejs-hosted-git-info&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.4-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-hosted-git-info-2.1.4-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-hosted-git-info-2.1.4-2.oe1.noarch.rpm"
    ]
}