snowdensb / dependabot-core

🤖 The core logic behind Dependabot's update PR creation, and the public issue tracker for all things Dependabot
https://github.com/features/security
Other
0 stars 0 forks source link

react-apollo-2.1.8.tgz: 3 vulnerabilities (highest severity is: 7.5) #1063

Open mend-for-github-com[bot] opened 4 months ago

mend-for-github-com[bot] commented 4 months ago
Vulnerable Library - react-apollo-2.1.8.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/npm7/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_switch/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_shrinkwrap/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_switch/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_nested/packages/package1/node_modules/ua-parser-js

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (react-apollo version) Remediation Possible** Reachability
CVE-2021-27292 High 7.5 ua-parser-js-0.7.19.tgz Transitive 2.1.9
CVE-2020-7793 High 7.5 ua-parser-js-0.7.19.tgz Transitive 2.1.9
CVE-2020-7733 High 7.5 ua-parser-js-0.7.19.tgz Transitive 2.1.9

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-27292 ### Vulnerable Library - ua-parser-js-0.7.19.tgz

Lightweight JavaScript-based user-agent string parser

Library home page: https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/npm7/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_switch/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_shrinkwrap/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_switch/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_nested/packages/package1/node_modules/ua-parser-js

Dependency Hierarchy: - react-apollo-2.1.8.tgz (Root Library) - fbjs-0.8.17.tgz - :x: **ua-parser-js-0.7.19.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.

Publish Date: 2021-03-17

URL: CVE-2021-27292

### 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27292

Release Date: 2021-03-17

Fix Resolution (ua-parser-js): 0.7.24

Direct dependency fix Resolution (react-apollo): 2.1.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-7793 ### Vulnerable Library - ua-parser-js-0.7.19.tgz

Lightweight JavaScript-based user-agent string parser

Library home page: https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/npm7/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_switch/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_shrinkwrap/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_switch/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_nested/packages/package1/node_modules/ua-parser-js

Dependency Hierarchy: - react-apollo-2.1.8.tgz (Root Library) - fbjs-0.8.17.tgz - :x: **ua-parser-js-0.7.19.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).

Publish Date: 2020-12-11

URL: CVE-2020-7793

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

Release Date: 2020-12-11

Fix Resolution (ua-parser-js): 0.7.23

Direct dependency fix Resolution (react-apollo): 2.1.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-7733 ### Vulnerable Library - ua-parser-js-0.7.19.tgz

Lightweight JavaScript-based user-agent string parser

Library home page: https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/npm7/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_switch/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/github_dependency_commit_ref/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_shrinkwrap/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency/node_modules/ua-parser-js/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_switch/node_modules/ua-parser-js,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_nested/packages/package1/node_modules/ua-parser-js

Dependency Hierarchy: - react-apollo-2.1.8.tgz (Root Library) - fbjs-0.8.17.tgz - :x: **ua-parser-js-0.7.19.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA.

Publish Date: 2020-09-16

URL: CVE-2020-7733

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

Release Date: 2020-09-16

Fix Resolution (ua-parser-js): 0.7.22

Direct dependency fix Resolution (react-apollo): 2.1.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.