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-2021-21321 Vulnerability in npm package fastify-reply-from
CVE-2019-1003081 Vulnerability in maven package org.jenkins-ci.plugins:openshift-deployer
CVE-2018-5382 Vulnerability in maven package org.bouncycastle:bcprov-jdk15
CVE-2019-19771 Vulnerability in npm package wbe3
CVE-2015-5347 Vulnerability in maven package org.apache.wicket:wicket-extensions