Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

CVE-2022-24772 (High) detected in multiple libraries #111

Open
mend-bolt-for-github bot opened this issue Mar 21, 2022 · 0 comments
Open

CVE-2022-24772 (High) detected in multiple libraries #111

mend-bolt-for-github bot opened this issue Mar 21, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Mar 21, 2022

CVE-2022-24772 - High Severity Vulnerability

Vulnerable Libraries - node-forge-0.7.6.tgz, node-forge-0.9.1.tgz, node-forge-0.7.4.tgz

node-forge-0.7.6.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-forge/package.json

Dependency Hierarchy:

  • @deliverybot/firebase-0.7.2.tgz (Root Library)
    • firebase-tools-7.2.4.tgz
      • google-auto-auth-0.7.2.tgz
        • google-auth-library-0.10.0.tgz
          • gtoken-1.2.3.tgz
            • google-p12-pem-0.1.2.tgz
              • node-forge-0.7.6.tgz (Vulnerable Library)
node-forge-0.9.1.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.9.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-forge/package.json

Dependency Hierarchy:

  • @deliverybot/firebase-0.7.2.tgz (Root Library)
    • pubsub-1.1.1.tgz
      • google-auth-library-5.9.2.tgz
        • gtoken-4.1.4.tgz
          • google-p12-pem-2.0.4.tgz
            • node-forge-0.9.1.tgz (Vulnerable Library)
node-forge-0.7.4.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-forge/package.json

Dependency Hierarchy:

  • @deliverybot/firebase-0.7.2.tgz (Root Library)
    • firebase-admin-8.3.0.tgz
      • node-forge-0.7.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not check for tailing garbage bytes after decoding a DigestInfo ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. The issue has been addressed in node-forge version 1.3.0. There are currently no known workarounds.

Publish Date: 2022-03-18

URL: CVE-2022-24772

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

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

Release Date: 2022-03-18

Fix Resolution: node-forge - 1.3.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants