GitHub Advisoryadvisory · npm

GHSA-cr79-9pwf-r6f5 Downloads Resources over HTTP in prince

HIGH Published 2019-02-18 Modified 2021-09-16 Official page ↗
Aliases
CVE-2016-10591
Ecosystem
npm
Packages
prince
Severity
High
Weaknesses
CWE-269, CWE-311
Reviewed
2020-06-16

Affected packages

• npm prince: < 1.4.7 → fixed in 1.4.7

Description

Affected versions of `prince` insecurely download an executable over an unencrypted HTTP connection. In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running `prince`. Recommendation Update to version 1.4.6 or later.

Related

Alias · CVE (1)

  • CVE-2016-10591 Prince is a Node API for executing XML/HTML to PDF renderer PrinceXML via prince(1) CLI. vulnerability

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-311 Missing Encryption of Sensitive Data weakness

References