hackariens / strapi

Nouveau projet sous strapi
0 stars 0 forks source link

strapi-plugin-users-permissions-3.6.5.tgz: 5 vulnerabilities (highest severity is: 9.8) - autoclosed #67

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - strapi-plugin-users-permissions-3.6.5.tgz

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/json-schema/package.json

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (strapi-plugin-users-permissions version) Remediation Available
CVE-2021-3918 High 9.8 json-schema-0.2.3.tgz Transitive 3.6.6
CVE-2022-2564 High 9.8 mongoose-5.13.4.tgz Transitive N/A*
CVE-2021-23438 High 9.8 mpath-0.8.3.tgz Transitive 3.6.6
CVE-2022-24999 High 7.5 qs-6.5.2.tgz Transitive 3.6.6
CVE-2021-3765 High 7.5 validator-10.11.0.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2021-3918 ### Vulnerable Library - json-schema-0.2.3.tgz

JSON Schema validation and specifications

Library home page: https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/json-schema/package.json

Dependency Hierarchy: - strapi-plugin-users-permissions-3.6.5.tgz (Root Library) - request-2.88.2.tgz - http-signature-1.2.0.tgz - jsprim-1.4.1.tgz - :x: **json-schema-0.2.3.tgz** (Vulnerable Library)

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Found in base branch: develop

### Vulnerability Details

json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Publish Date: 2021-11-13

URL: CVE-2021-3918

### 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://nvd.nist.gov/vuln/detail/CVE-2021-3918

Release Date: 2021-11-13

Fix Resolution (json-schema): 0.4.0

Direct dependency fix Resolution (strapi-plugin-users-permissions): 3.6.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-2564 ### Vulnerable Library - mongoose-5.13.4.tgz

Mongoose MongoDB ODM

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

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/mongoose/package.json

Dependency Hierarchy: - strapi-plugin-users-permissions-3.6.5.tgz (Root Library) - koa2-ratelimit-0.9.0.tgz - :x: **mongoose-5.13.4.tgz** (Vulnerable Library)

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Found in base branch: develop

### 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: mongoose - 6.4.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-23438 ### Vulnerable Library - mpath-0.8.3.tgz

{G,S}et object values using MongoDB-like path notation

Library home page: https://registry.npmjs.org/mpath/-/mpath-0.8.3.tgz

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/mpath/package.json

Dependency Hierarchy: - strapi-plugin-users-permissions-3.6.5.tgz (Root Library) - koa2-ratelimit-0.9.0.tgz - mongoose-5.13.4.tgz - :x: **mpath-0.8.3.tgz** (Vulnerable Library)

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Found in base branch: develop

### Vulnerability Details

This affects the package mpath before 0.8.4. A type confusion vulnerability can lead to a bypass of CVE-2018-16490. In particular, the condition ignoreProperties.indexOf(parts[i]) !== -1 returns -1 if parts[i] is ['__proto__']. This is because the method that has been called if the input is an array is Array.prototype.indexOf() and not String.prototype.indexOf(). They behave differently depending on the type of the input.

Publish Date: 2021-09-01

URL: CVE-2021-23438

### 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-2021-23438

Release Date: 2021-09-01

Fix Resolution (mpath): 0.8.4

Direct dependency fix Resolution (strapi-plugin-users-permissions): 3.6.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-24999 ### Vulnerable Library - qs-6.5.2.tgz

A querystring parser that supports nesting and arrays, with a depth limit

Library home page: https://registry.npmjs.org/qs/-/qs-6.5.2.tgz

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/request/node_modules/qs/package.json

Dependency Hierarchy: - strapi-plugin-users-permissions-3.6.5.tgz (Root Library) - request-2.88.2.tgz - :x: **qs-6.5.2.tgz** (Vulnerable Library)

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Found in base branch: develop

### Vulnerability Details

qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b&a[__proto__]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4 (and therefore Express 4.17.3, which has "deps: qs@6.9.7" in its release description, is not vulnerable).

Publish Date: 2022-11-26

URL: CVE-2022-24999

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2022-24999

Release Date: 2022-11-26

Fix Resolution (qs): 6.5.3

Direct dependency fix Resolution (strapi-plugin-users-permissions): 3.6.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-3765 ### Vulnerable Library - validator-10.11.0.tgz

String validation and sanitization

Library home page: https://registry.npmjs.org/validator/-/validator-10.11.0.tgz

Path to dependency file: /app/package.json

Path to vulnerable library: /app/node_modules/validator/package.json

Dependency Hierarchy: - strapi-plugin-users-permissions-3.6.5.tgz (Root Library) - koa2-ratelimit-0.9.0.tgz - sequelize-5.22.4.tgz - :x: **validator-10.11.0.tgz** (Vulnerable Library)

Found in HEAD commit: 0deb97dca63193d326c0a75e778430c564444e7c

Found in base branch: develop

### Vulnerability Details

validator.js is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-11-02

URL: CVE-2021-3765

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-qgmg-gppg-76g5

Release Date: 2021-11-02

Fix Resolution: validator - 13.7.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.