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-2016-10595 Vulnerability in npm package jdf-sass
CVE-2015-7559 Vulnerability in maven package org.apache.activemq:activemq-core
CVE-2017-3202 Vulnerability in maven package com.exadel.flamingo.flex:amf-serializer
CVE-2018-11762 Vulnerability in maven package org.apache.tika:tika-app
CVE-2020-2275 Vulnerability in maven package org.jenkins-ci.plugins:copy-data-to-workspace-plugin