GitHub Advisoryadvisory · npm

GHSA-rqwh-c535-j9hw Downloads Resources over HTTP in js-given

HIGH Published 2019-02-18 Modified 2021-01-08 Official page ↗
Aliases
CVE-2016-10638
Ecosystem
npm
Packages
js-given
Severity
High
Weaknesses
CWE-311
Reviewed
2020-06-16

Affected packages

• npm js-given: < 0.0.18 → fixed in 0.0.18

Description

Affected versions of `js-given` 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 `js-given`. Recommendation Update to version 0.0.18 or later.

Related

Alias · CVE (1)

  • CVE-2016-10638 js-given is a JavaScript frontend to jgiven. vulnerability

Weakness · CWE (1)

  • CWE-311 Missing Encryption of Sensitive Data weakness

References