Description
The hubl-server module is a wrapper for the HubL Development Server. During installation hubl-server downloads a set of dependencies from api.hubapi.com. It appears in the code that these files are downloaded over HTTPS however the api.hubapi.com endpoint redirects to a HTTP url. Because of this behavior an attacker with the ability to man-in-the-middle a developer or system performing a package installation could compromise the integrity of the installation.
Remediation
References
https://nodesecurity.io/advisories/334
Related Vulnerabilities
CVE-2020-28436 Vulnerability in npm package google-cloudstorage-commands
CVE-2020-7748 Vulnerability in npm package @tsed/core
CVE-2022-39251 Vulnerability in npm package matrix-js-sdk
CVE-2021-3690 Vulnerability in maven package io.undertow:undertow-core
CVE-2022-35915 Vulnerability in npm package @openzeppelin/contracts-upgradeable