question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vulnerable dependencies in 1.1.4

See original GitHub issue

Version 1.1.4 (the latest version as of this writing) has dependencies with known security vulnerabilities. Thank you in advance for looking into this! 😄

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

security, vulnerability, hoek

Environment

  1. node -v: v8.11.1
  2. npm -v: 6.0.0
  3. yarn --version (if you use Yarn): N/A
  4. npm ls react-scripts (if you haven’t ejected):
ganymede@0.1.0 /home/rdebeasi/Projects/ganymede
└── react-scripts@1.1.4 
  1. Operating system: Fedora 27
  2. Browser and version (if relevant): N/A

Steps to Reproduce

  1. Test react-scripts 1.1.4 on Snyk
  2. Create a new project with create-react-app
  3. Run npm install
  4. Run npm ls hoek

Expected Behavior

  • Snyk finds no vulnerabilities in create-react-app.
  • react-scripts relies on a version of hoek newer than 5.0.3 or 4.2.1.

Actual Behavior

  • Snyk finds 2 medium severity vulnerabilities and 4 low severity vulnerabilities.
  • react-scripts relies on hoek 4.2.1, which is affected by CVE-2018-3728. (I noticed this issue because GitHub flagged hoek as a vulnerability in my create-react-app project.)
[rdebeasi@rdebeasi ganymede]$ npm ls hoek
ganymede@0.1.0 /home/rdebeasi/Projects/ganymede
└─┬ react-scripts@1.1.4
  └─┬ jest@20.0.4
    └─┬ jest-cli@20.0.4
      └─┬ jest-environment-jsdom@20.0.3
        └─┬ jsdom@9.12.0
          └─┬ request@2.85.0
            └─┬ hawk@6.0.2
              ├─┬ boom@4.3.1
              │ └── hoek@4.2.1  deduped
              ├─┬ cryptiles@3.1.2
              │ └─┬ boom@5.2.0
              │   └── hoek@4.2.1  deduped
              ├── hoek@4.2.1 
              └─┬ sntp@2.1.0
                └── hoek@4.2.1  deduped

See also “Security vulnerability: hoek” in the Jest repo

Reproducible Demo

N/A

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

10reactions
gaearoncommented, Apr 27, 2018

This dependency is only used in tests so I don’t think it’s practically relevant.

3reactions
bugzpoddercommented, Jun 1, 2018

both hoek and macaddress are no longer present in react-scripts@1.1.4 and @next

Read more comments on GitHub >

github_iconTop Results From Across the Web

cfb 1.1.4 vulnerabilities - Snyk
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >
lein-dependency-check - cljdoc
A Leiningen plugin for detecting vulnerable project dependencies. Basic clojure wrapper for OWASP Dependency Check. Configuration. As a User-Level Plugin: To ...
Read more >
Apache Log4j Security Vulnerabilities
This page lists all the security vulnerabilities fixed in released versions of Apache Log4j 2. Each vulnerability is given a security impact ...
Read more >
Dependency-Check Report
Vulnerable Dependencies : 54; Vulnerabilities Found: 198; Vulnerabilities Suppressed: 0 ...
Read more >
Fixed Security Vulnerabilities - JFrog - JFrog Documentation
Vulnerabilities Without a CVE Impacting Artifactory ... Though the vulnerable library json-schema is a sub-dependency of request@ 2.88.2 , the vulnerable ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found