UBUNTU-CVE-2021-23362

Source
https://ubuntu.com/security/CVE-2021-23362
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23362.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-23362
Related
Published
2021-03-23T17:15:00Z
Modified
2024-10-15T14:08:02Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-hosted-git-info

Package

Name
node-hosted-git-info
Purl
pkg:deb/ubuntu/node-hosted-git-info?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0-1ubuntu0.1~esm1

Affected versions

2.*

2.1.5-1
2.5.0-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.5.0-1ubuntu0.1~esm1",
            "binary_name": "node-hosted-git-info"
        }
    ]
}

Ubuntu:20.04:LTS / node-hosted-git-info

Package

Name
node-hosted-git-info
Purl
pkg:deb/ubuntu/node-hosted-git-info?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.1-1
2.8.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / node-hosted-git-info

Package

Name
node-hosted-git-info
Purl
pkg:deb/ubuntu/node-hosted-git-info?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.5-1ubuntu0.1~esm1

Affected versions

2.*

2.7.1-1
2.8.5-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8.5-1ubuntu0.1~esm1",
            "binary_name": "node-hosted-git-info"
        }
    ]
}

Ubuntu:22.04:LTS / node-hosted-git-info

Package

Name
node-hosted-git-info
Purl
pkg:deb/ubuntu/node-hosted-git-info?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.8-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.8-1",
            "binary_name": "node-hosted-git-info"
        }
    ]
}