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-31175 Vulnerability in npm package @ckeditor/ckeditor5-html-support
CVE-2017-16015 Vulnerability in npm package forms
CVE-2020-36187 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-2216 Vulnerability in maven package org.webjars.npm:parse-url
CVE-2018-8014 Vulnerability in maven package org.apache.tomcat:tomcat-catalina