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

jwk-to-pem-2.0.5.tgz: 2 vulnerabilities (highest severity is: 9.1) #298

Open
mend-bolt-for-github bot opened this issue Aug 4, 2024 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Aug 4, 2024

Vulnerable Library - jwk-to-pem-2.0.5.tgz

Path to dependency file: /package.json

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jwk-to-pem version) Remediation Possible**
CVE-2024-48949 Critical 9.1 elliptic-6.5.4.tgz Transitive N/A*
CVE-2024-48948 Medium 4.8 elliptic-6.5.4.tgz Transitive N/A*

*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

CVE-2024-48949

Vulnerable Library - elliptic-6.5.4.tgz

EC cryptography

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • jwk-to-pem-2.0.5.tgz (Root Library)
    • elliptic-6.5.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The verify function in lib/elliptic/eddsa/index.js in the Elliptic package before 6.5.6 for Node.js omits "sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg()" validation.

Publish Date: 2024-10-10

URL: CVE-2024-48949

CVSS 3 Score Details (9.1)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-48949

Release Date: 2024-10-10

Fix Resolution: elliptic - 6.5.6

Step up your Open Source Security Game with Mend here

CVE-2024-48948

Vulnerable Library - elliptic-6.5.4.tgz

EC cryptography

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • jwk-to-pem-2.0.5.tgz (Root Library)
    • elliptic-6.5.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.

Publish Date: 2024-10-15

URL: CVE-2024-48948

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-fc9h-whq2-v747

Release Date: 2024-10-28

Fix Resolution: elliptic - 6.6.0

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Aug 4, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title jwk-to-pem-2.0.5.tgz: 2 vulnerabilities (highest severity is: 5.3) jwk-to-pem-2.0.5.tgz: 3 vulnerabilities (highest severity is: 5.3) Aug 5, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title jwk-to-pem-2.0.5.tgz: 3 vulnerabilities (highest severity is: 5.3) jwk-to-pem-2.0.5.tgz: 3 vulnerabilities (highest severity is: 9.1) Aug 16, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title jwk-to-pem-2.0.5.tgz: 3 vulnerabilities (highest severity is: 9.1) jwk-to-pem-2.0.5.tgz: 4 vulnerabilities (highest severity is: 9.1) Oct 10, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title jwk-to-pem-2.0.5.tgz: 4 vulnerabilities (highest severity is: 9.1) jwk-to-pem-2.0.5.tgz: 5 vulnerabilities (highest severity is: 9.1) Oct 20, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title jwk-to-pem-2.0.5.tgz: 5 vulnerabilities (highest severity is: 9.1) jwk-to-pem-2.0.5.tgz: 2 vulnerabilities (highest severity is: 9.1) Oct 28, 2024
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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants