Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libphonenumber-js-1.7.34.tgz: 3 vulnerabilities (highest severity is: 9.8) #8

Open
mend-for-github-com bot opened this issue Jul 17, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jul 17, 2022

Vulnerable Library - libphonenumber-js-1.7.34.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json,/node_modules/minimist/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (libphonenumber-js version) Remediation Possible**
CVE-2021-44906 Critical 9.8 minimist-1.2.0.tgz Transitive 1.7.35
CVE-2020-7598 Medium 5.6 minimist-1.2.0.tgz Transitive 1.7.35
CVE-2023-0842 Medium 5.3 xml2js-0.4.23.tgz Transitive 1.9.0

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

Details

CVE-2021-44906

Vulnerable Library - minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json,/node_modules/minimist/package.json

Dependency Hierarchy:

  • libphonenumber-js-1.7.34.tgz (Root Library)
    • minimist-1.2.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

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: GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (libphonenumber-js): 1.7.35

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2020-7598

Vulnerable Library - minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json,/node_modules/minimist/package.json

Dependency Hierarchy:

  • libphonenumber-js-1.7.34.tgz (Root Library)
    • minimist-1.2.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "proto" payload.

Publish Date: 2020-03-11

URL: CVE-2020-7598

CVSS 3 Score Details (5.6)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-03-11

Fix Resolution (minimist): 1.2.3

Direct dependency fix Resolution (libphonenumber-js): 1.7.35

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-0842

Vulnerable Library - xml2js-0.4.23.tgz

Simple XML to JavaScript object converter.

Library home page: https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/xml2js/package.json

Dependency Hierarchy:

  • libphonenumber-js-1.7.34.tgz (Root Library)
    • xml2js-0.4.23.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.

Publish Date: 2023-04-05

URL: CVE-2023-0842

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-0842

Release Date: 2023-04-05

Fix Resolution (xml2js): 0.5.0

Direct dependency fix Resolution (libphonenumber-js): 1.9.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jul 17, 2022
@mend-for-github-com mend-for-github-com bot changed the title libphonenumber-js-1.7.34.tgz: 2 vulnerabilities (highest severity is: 5.6) libphonenumber-js-1.7.34.tgz: 2 vulnerabilities (highest severity is: 9.8) Aug 3, 2022
@mend-for-github-com mend-for-github-com bot changed the title libphonenumber-js-1.7.34.tgz: 2 vulnerabilities (highest severity is: 9.8) libphonenumber-js-1.7.34.tgz: 3 vulnerabilities (highest severity is: 9.8) Apr 6, 2023
@mend-for-github-com mend-for-github-com bot changed the title libphonenumber-js-1.7.34.tgz: 3 vulnerabilities (highest severity is: 9.8) libphonenumber-js-1.7.34.tgz: 2 vulnerabilities (highest severity is: 9.8) Jan 21, 2025
@mend-for-github-com mend-for-github-com bot changed the title libphonenumber-js-1.7.34.tgz: 2 vulnerabilities (highest severity is: 9.8) libphonenumber-js-1.7.34.tgz: 3 vulnerabilities (highest severity is: 9.8) Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants