advanced-web-developer-bootcamp-notes-examples-and-exercises icon indicating copy to clipboard operation
advanced-web-developer-bootcamp-notes-examples-and-exercises copied to clipboard

CVE-2020-11023 (Medium) detected in jquery-2.1.4.min.js, jquery-1.7.1.min.js

Open mend-bolt-for-github[bot] opened this issue 4 years ago • 0 comments

CVE-2020-11023 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-2.1.4.min.js, jquery-1.7.1.min.js

jquery-2.1.4.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js

Path to dependency file: /Section33-In-Depth-Redux-Code-Walkthrough/react-redux-todos/node_modules/js-base64/test-moment/index.html

Path to vulnerable library: /Section33-In-Depth-Redux-Code-Walkthrough/react-redux-todos/node_modules/js-base64/test-moment/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/js-base64/test/index.html,/Section27-State/random-boxes-starter/node_modules/js-base64/test/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/js-base64/test/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/js-base64/test-moment/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/js-base64/test/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/js-base64/test/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/js-base64/test/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/js-base64/test/index.html,/Section27-State/pass-state-to-props-demo/node_modules/js-base64/test-moment/index.html,/Section27-State/update-complex-state/node_modules/js-base64/test/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/js-base64/test/index.html

Dependency Hierarchy:

  • :x: jquery-2.1.4.min.js (Vulnerable Library)
jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: /Section27-State/random-boxes-starter/node_modules/sockjs/examples/hapi/html/index.html

Path to vulnerable library: /Section27-State/random-boxes-starter/node_modules/sockjs/examples/hapi/html/index.html,/Section27-State/random-boxes-starter/node_modules/vm-browserify/example/run/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/sockjs/examples/express/index.html,/Section27-State/pass-state-to-props-demo/node_modules/sockjs/examples/multiplex/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/sockjs/examples/express-3.x/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/sockjs/examples/express/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/sockjs/examples/multiplex/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/sockjs/examples/hapi/html/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/vm-browserify/example/run/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/vm-browserify/example/run/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/sockjs/examples/hapi/html/index.html,/Section27-State/random-boxes-starter/node_modules/sockjs/examples/express-3.x/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/sockjs/examples/express/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/vm-browserify/example/run/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/vm-browserify/example/run/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/sockjs/examples/multiplex/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/sockjs/examples/express/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/vm-browserify/example/run/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/sockjs/examples/echo/index.html,/Section27-State/pass-state-to-props-demo/node_modules/sockjs/examples/hapi/html/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/sockjs/examples/express-3.x/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/sockjs/examples/multiplex/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/sockjs/examples/echo/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/sockjs/examples/echo/index.html,/Section29-Component-LifeCycle-Methods/hacker-news/node_modules/sockjs/examples/echo/index.html,/Section27-State/random-boxes-starter/node_modules/sockjs/examples/express/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/sockjs/examples/echo/index.html,/Section27-State/random-boxes-starter/node_modules/sockjs/examples/echo/index.html,/Section27-State/pass-state-to-props-demo/node_modules/sockjs/examples/express-3.x/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/sockjs/examples/hapi/html/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/sockjs/examples/express-3.x/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/sockjs/examples/hapi/html/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/sockjs/examples/express-3.x/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/vm-browserify/example/run/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/sockjs/examples/multiplex/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/sockjs/examples/multiplex/index.html,/Section27-State/update-complex-state/node_modules/sockjs/examples/multiplex/index.html,/Section27-State/update-complex-state/node_modules/sockjs/examples/express-3.x/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/sockjs/examples/multiplex/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/vm-browserify/example/run/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/vm-browserify/example/run/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/sockjs/examples/hapi/html/index.html,/Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/node_modules/sockjs/examples/express-3.x/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/sockjs/examples/echo/index.html,/Section27-State/update-complex-state/node_modules/sockjs/examples/hapi/html/index.html,/Section27-State/pass-state-to-props-demo/node_modules/sockjs/examples/express/index.html,/Section33-In-Depth-Redux-Code-Walkthrough/react-redux-todos/node_modules/sockjs/examples/echo/index.html,/Section27-State/random-boxes-starter/node_modules/sockjs/examples/multiplex/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/sockjs/examples/multiplex/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/sockjs/examples/echo/index.html,/Section26-Create-React-App-and-Props/helloworld/node_modules/sockjs/examples/hapi/html/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/sockjs/examples/express-3.x/index.html,/Section27-State/pass-state-to-props-demo/node_modules/sockjs/examples/echo/index.html,/Section34-37-Warbler-Final-Project/warbler/warbler-client/node_modules/sockjs/examples/hapi/html/index.html,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/sockjs/examples/express-3.x/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/sockjs/examples/hapi/html/index.html,/Section29-Component-LifeCycle-Methods/flag-guessing-game/node_modules/sockjs/examples/echo/index.html,/Section27-State/update-complex-state/node_modules/sockjs/examples/echo/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/sockjs/examples/express/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/sockjs/examples/express-3.x/index.html,/Section27-State/pass-state-to-props-demo/node_modules/vm-browserify/example/run/index.html,/Section27-State/update-complex-state/node_modules/vm-browserify/example/run/index.html,/Section26-Create-React-App-and-Props/recipe-props-starter/node_modules/sockjs/examples/multiplex/index.html

Dependency Hierarchy:

  • :x: jquery-1.7.1.min.js (Vulnerable Library)

Found in base branch: master

Vulnerability Details

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing

Publish Date: 2020-04-29

URL: CVE-2020-11023

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6,https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#440

Release Date: 2020-04-29

Fix Resolution: jquery - 3.5.0;jquery-rails - 4.4.0


Step up your Open Source Security Game with Mend here