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-2022-1243 Vulnerability in maven package org.webjars.bower:urijs
CVE-2016-6796 Vulnerability in maven package tomcat:jasper
CVE-2019-10389 Vulnerability in maven package org.jenkins-ci.plugins:relution-publisher
CVE-2021-42767 Vulnerability in maven package org.neo4j.procedure:apoc
CVE-2021-37136 Vulnerability in maven package io.netty:netty-codec