rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-2564 (Critical) detected in multiple libraries

mend-bolt-for-github opened this issue · comments

CVE-2022-2564 - Critical Severity Vulnerability

Vulnerable Libraries - mongoose-5.7.5.tgz, mongoose-5.2.4.tgz, mongoose-5.2.5.tgz

mongoose-5.7.5.tgz

Mongoose MongoDB ODM

Library home page: https://registry.npmjs.org/mongoose/-/mongoose-5.7.5.tgz

Path to dependency file: /Section13-Creating-JSON-APIs-With-Node-and-Mongo/todos_api/package.json

Path to vulnerable library: /Section13-Creating-JSON-APIs-With-Node-and-Mongo/todos_api/node_modules/mongoose/package.json

Dependency Hierarchy:

  • mongoose-5.7.5.tgz (Vulnerable Library)
mongoose-5.2.4.tgz

Mongoose MongoDB ODM

Library home page: https://registry.npmjs.org/mongoose/-/mongoose-5.2.4.tgz

Path to dependency file: /Section33-In-Depth-Redux-Code-Walkthrough/react-todos-backend/package.json

Path to vulnerable library: /Section33-In-Depth-Redux-Code-Walkthrough/react-todos-backend/node_modules/mongoose/package.json,/Section33-In-Depth-Redux-Code-Walkthrough/react-todos-backend/node_modules/mongoose/package.json

Dependency Hierarchy:

  • mongoose-5.2.4.tgz (Vulnerable Library)
mongoose-5.2.5.tgz

Mongoose MongoDB ODM

Library home page: https://registry.npmjs.org/mongoose/-/mongoose-5.2.5.tgz

Path to dependency file: /Section34-37-Warbler-Final-Project/warbler/warbler-server/package.json

Path to vulnerable library: /Section34-37-Warbler-Final-Project/warbler/warbler-server/node_modules/mongoose/package.json

Dependency Hierarchy:

  • mongoose-5.2.5.tgz (Vulnerable Library)

Found in HEAD commit: d80f181a2f4dd1169fbef38813309ffdd4ad82d4

Found in base branch: master

Vulnerability Details

Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.

Publish Date: 2022-07-28

URL: CVE-2022-2564

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2564

Release Date: 2022-07-28

Fix Resolution: 5.13.15


Step up your Open Source Security Game with Mend here