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-2017-7688 Vulnerability in maven package org.apache.openmeetings:openmeetings-core
CVE-2018-11695 Vulnerability in npm package node-sass
CVE-2017-18214 Vulnerability in npm package moment
CVE-2018-17421 Vulnerability in maven package com.zrlog:zrlog
CVE-2022-39230 Vulnerability in npm package fhir-works-on-aws-authz-smart