@firstdata/first-data-gateway@1.7.1

Vulnerabilities

2 via 2 paths

Dependencies

7

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 1
Status
  • 2
  • 0
  • 0

high severity

Insecure Randomness

  • Vulnerable module: crypto-js
  • Introduced through: crypto-js@3.1.9-1

Detailed paths

  • Introduced through: @firstdata/first-data-gateway@1.7.1 crypto-js@3.1.9-1
    Remediation: Upgrade to crypto-js@3.2.1.

Overview

crypto-js is a library of crypto standards.

Affected versions of this package are vulnerable to Insecure Randomness. The secureRandom() method is supposed to return a cryptographically strong pseudo-random data string, but it is biased to certain digits. An attacker could be able to guess the created digits.

Remediation

Upgrade crypto-js to version 4.0.0, 3.2.1 or higher.

References

medium severity

Server-Side Request Forgery (SSRF)

  • Vulnerable module: axios
  • Introduced through: axios@0.18.1

Detailed paths

  • Introduced through: @firstdata/first-data-gateway@1.7.1 axios@0.18.1
    Remediation: Upgrade to @firstdata/first-data-gateway@1.10.0.

Overview

axios is a promise based HTTP client for the browser and node.js.

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF). An attacker is able to bypass a proxy by providing a URL that responds with a redirect to a restricted host or IP address.

Remediation

Upgrade axios to version 0.21.1 or higher.

References