Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #7402
Closed
Open
Issue created 6 years ago by Administrator@rootContributor
  • New related issue

  • Report abuse to administrator

  • New related issue

  • Report abuse to administrator

react-scripts: Babel < 7.5.0 uses unsafe version of lodash

Closed

react-scripts: Babel < 7.5.0 uses unsafe version of lodash

Created by: thefivetoes

Describe the bug

react-scripts is using @babel/core 7.4.3 which uses lodash < 4.17.13 and is subject to CVE-2019-10744.

Please upgrade to @babel/core 7.5.0, which uses lodash 4.17.13 and is not subject to the vulnerability.

Did you try recovering your dependencies?

N/A

Which terms did you search for in User Guide?

N/A

Environment

Environment:
  OS:  macOS High Sierra 10.13.6
  Node:  10.15.3
  Yarn:  1.3.2
  npm:  6.4.1
  Watchman:  4.7.0
  Xcode:  Not Found
  Android Studio:  Not Found

Packages: (wanted => installed)
  react: ^16.8.4 => 16.8.6
  react-dom: ^16.8.4 => 16.8.6
  react-scripts: 3.0.1 => 3.0.1

Steps to reproduce

N/A

Expected behavior

Using the latest version of babel should not trigger Github "Known security vulnerabilities detected" warnings.

Actual behavior

Github is sending notifications that our project is a version of lodash that is known to be insecure: 61550331-2badda00-aa20-11e9-9086-95317ff28e14

Reproducible demo

N/A

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.
Tasks
0

No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


  • Administrator
    Administrator @root · 6 years ago
    Author Contributor

    Created by: heyimalex

    Babel 7.4.3 depends on lodash ^4.17.11, which will resolve to 4.17.13 today. It's annoying, but I don't think we need to change anything on our end. You can fix this on yours by recovering your dependencies.

  • Administrator
    Administrator @root · 6 years ago
    Author Contributor

    Created by: thefivetoes

    Ah thanks @heyimalex, my mistake. Definitely should have tried that (I read that section but didn't think it applied here :disappointed:). I assume that this will be good enough of a solution to quiet down the Github security vulnerabilities alerts. Closing this issue and my corresponding PR.

    Thanks!

  • Administrator
    Administrator @root · 6 years ago
    Author Contributor

    Created by: heyimalex

    No worries! It’s honestly a pretty confusing system.

Please register or sign in to reply
0 Assignees
None
Assign to
Labels
1
issue: bug
1
issue: bug
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
1
1 participant
Administrator
Reference: facebook/create-react-app#7402

Menu

Explore Projects Groups Snippets