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

analytics.js-integration-facebook-pixel-2.4.1.tgz: 6 vulnerabilities (highest severity is: 8.2) #1056

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

mend-for-github-com[bot] commented 6 months ago
Vulnerable Library - analytics.js-integration-facebook-pixel-2.4.1.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/hosted-git-info/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (analytics.js-integration-facebook-pixel version) Remediation Possible** Reachability
WS-2021-0091 High 8.2 defaults-2.0.1.tgz Transitive N/A*
CVE-2021-36716 High 7.5 is-email-0.1.0.tgz Transitive N/A*
CVE-2021-33623 High 7.5 trim-newlines-1.0.0.tgz Transitive N/A*
CVE-2020-7753 High 7.5 trim-0.0.1.tgz Transitive 2.4.2
CVE-2022-25883 Medium 5.3 semver-5.7.0.tgz Transitive N/A*
CVE-2021-23362 Medium 5.3 hosted-git-info-2.7.1.tgz Transitive 2.4.2

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

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

Details

WS-2021-0091 ### Vulnerable Library - defaults-2.0.1.tgz

Copies owned, enumerable properties from a source object(s) to a target object when the value of that property on the source object is `undefined`.

Library home page: https://registry.npmjs.org/@ndhoule/defaults/-/defaults-2.0.1.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/@ndhoule/defaults/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/@ndhoule/defaults/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/@ndhoule/defaults/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - analytics.js-integration-3.3.0.tgz - :x: **defaults-2.0.1.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Prototype pollution vulnerability in `@ndhoule/defaults` versions 1.1.0 through 2.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

Publish Date: 2021-05-09

URL: WS-2021-0091

### CVSS 3 Score Details (8.2)

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: Low - Availability Impact: High

For more information on CVSS3 Scores, click here.

CVE-2021-36716 ### Vulnerable Library - is-email-0.1.0.tgz

Component: loosely validate an email address.

Library home page: https://registry.npmjs.org/is-email/-/is-email-0.1.0.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/is-email/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/is-email/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/is-email/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - segmentio-facade-3.2.3.tgz - :x: **is-email-0.1.0.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

A ReDoS (regular expression denial of service) flaw was found in the Segment is-email package before 1.0.1 for Node.js. An attacker that is able to provide crafted input to the isEmail(input) function may cause an application to consume an excessive amount of CPU.

Publish Date: 2021-07-14

URL: CVE-2021-36716

### 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-j377-2x76-558h

Release Date: 2021-07-14

Fix Resolution: is-email - 1.0.1

CVE-2021-33623 ### Vulnerable Library - trim-newlines-1.0.0.tgz

Trim newlines from the start and/or end of a string

Library home page: https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/trim-newlines/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/trim-newlines/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/trim-newlines/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - dateformat-1.0.12.tgz - meow-3.7.0.tgz - :x: **trim-newlines-1.0.0.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

Publish Date: 2021-05-28

URL: CVE-2021-33623

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

Release Date: 2021-05-28

Fix Resolution: trim-newlines - 3.0.1, 4.0.1

CVE-2020-7753 ### Vulnerable Library - trim-0.0.1.tgz

Trim string whitespace

Library home page: https://registry.npmjs.org/trim/-/trim-0.0.1.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/trim/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/trim/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/trim/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - segmentio-facade-3.2.3.tgz - :x: **trim-0.0.1.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Publish Date: 2020-10-27

URL: CVE-2020-7753

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

Fix Resolution (trim): 0.0.3

Direct dependency fix Resolution (@segment/analytics.js-integration-facebook-pixel): 2.4.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-25883 ### Vulnerable Library - semver-5.7.0.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-5.7.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/semver/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/semver/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/semver/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - dateformat-1.0.12.tgz - meow-3.7.0.tgz - read-pkg-up-1.0.1.tgz - read-pkg-1.1.0.tgz - normalize-package-data-2.5.0.tgz - :x: **semver-5.7.0.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

### CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2

CVE-2021-23362 ### Vulnerable Library - hosted-git-info-2.7.1.tgz

Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab

Library home page: https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/hosted-git-info/package.json

Dependency Hierarchy: - analytics.js-integration-facebook-pixel-2.4.1.tgz (Root Library) - dateformat-1.0.12.tgz - meow-3.7.0.tgz - read-pkg-up-1.0.1.tgz - read-pkg-1.1.0.tgz - normalize-package-data-2.5.0.tgz - :x: **hosted-git-info-2.7.1.tgz** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.

Publish Date: 2021-03-23

URL: CVE-2021-23362

### CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-43f8-2h32-f4cj

Release Date: 2021-03-23

Fix Resolution (hosted-git-info): 2.8.9

Direct dependency fix Resolution (@segment/analytics.js-integration-facebook-pixel): 2.4.2

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

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