Skip to content

pubsub-1.7.3.tgz: 15 vulnerabilities (highest severity is: 9.8) #23

Description

@mend-for-github-com
Vulnerable Library - pubsub-1.7.3.tgz

Path to dependency file: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (pubsub version) Remediation Possible**
CVE-2020-7720 Critical 9.8 node-forge-0.9.1.tgz Transitive N/A*
CVE-2025-12816 High 8.6 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2026-33895 High 7.5 node-forge-0.9.1.tgz Transitive N/A*
CVE-2026-33894 High 7.5 node-forge-0.9.1.tgz Transitive N/A*
CVE-2026-33891 High 7.5 node-forge-0.9.1.tgz Transitive N/A*
CVE-2025-66031 High 7.5 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2025-65945 High 7.5 jws-4.0.0.tgz Transitive 2.0.0
CVE-2022-24772 High 7.5 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2022-24771 High 7.5 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2020-8237 High 7.5 json-bigint-0.3.0.tgz Transitive N/A*
CVE-2026-33896 High 7.4 node-forge-0.9.1.tgz Transitive N/A*
WS-2022-0008 Medium 6.6 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2025-66030 Medium 5.3 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2022-24773 Medium 5.3 node-forge-0.9.1.tgz Transitive 2.0.0
CVE-2022-0122 Medium 5.3 node-forge-0.9.1.tgz Transitive 2.0.0

*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-2020-7720

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Note: Version 0.10.0 is a breaking change removing the vulnerable functions.

Publish Date: 2020-09-01

URL: CVE-2020-7720

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-92xj-mqp7-vmcj

Release Date: 2020-09-01

Fix Resolution: node-forge - 0.10.0

CVE-2025-12816

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

An interpretation-conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and earlier enables unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass downstream cryptographic verifications and security decisions.

Publish Date: 2025-11-25

URL: CVE-2025-12816

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • 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: GHSA-5gfm-wpxj-wjgq

Release Date: 2025-11-25

Fix Resolution (node-forge): 1.3.2

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2026-33895

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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.4.0, Ed25519 signature verification accepts forged non-canonical signatures where the scalar S is not reduced modulo the group order ("S >= L"). A valid signature and its "S + L" variant both verify in forge, while Node.js "crypto.verify" (OpenSSL-backed) rejects the "S + L" variant, as defined by the specification. This class of signature malleability has been exploited in practice to bypass authentication and authorization logic (see CVE-2026-25793, CVE-2022-35961). Applications relying on signature uniqueness (i.e., dedup by signature bytes, replay tracking, signed-object canonicalization checks) may be bypassed. Version 1.4.0 patches the issue.

Publish Date: 2026-03-27

URL: CVE-2026-33895

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

Release Date: 2026-03-27

Fix Resolution: https://github.com/digitalbazaar/forge.git - v1.4.0

CVE-2026-33894

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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.4.0, RSASSA PKCS#⁠1 v1.5 signature verification accepts forged signatures for low public exponent keys (e=3). Attackers can forge signatures by stuffing “garbage” bytes within the ASN structure in order to construct a signature that passes verification, enabling Bleichenbacher style forgery. This issue is similar to CVE-2022-24771, but adds bytes in an addition field within the ASN structure, rather than outside of it. Additionally, forge does not validate that signatures include a minimum of 8 bytes of padding as defined by the specification, providing attackers additional space to construct Bleichenbacher forgeries. Version 1.4.0 patches the issue.

Publish Date: 2026-03-27

URL: CVE-2026-33894

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: GHSA-ppp5-5v6c-4jwp

Release Date: 2026-03-26

Fix Resolution: node-forge - 1.4.0

CVE-2026-33891

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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.4.0, a Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU. Version 1.4.0 patches the issue.

Publish Date: 2026-03-27

URL: CVE-2026-33891

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: 2026-03-27

Fix Resolution: https://github.com/digitalbazaar/forge.git - v1.4.0

CVE-2025-66031

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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. An Uncontrolled Recursion vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs. This issue has been patched in version 1.3.2.

Publish Date: 2025-11-26

URL: CVE-2025-66031

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: GHSA-554w-wpv2-vw27

Release Date: 2025-11-26

Fix Resolution (node-forge): 1.3.2

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-65945

Vulnerable Library - jws-4.0.0.tgz

Implementation of JSON Web Signatures

Library home page: https://registry.npmjs.org/jws/-/jws-4.0.0.tgz

Path to dependency file: /natural-language/JavaScript/sms-sentiment/package.json

Path to vulnerable library: /natural-language/JavaScript/sms-sentiment/node_modules/jws/package.json,/cloud-translation/JavaScript/sms-translation/node_modules/jws/package.json,/firebase/JavaScript/functions/node_modules/jws/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • jws-4.0.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.

Publish Date: 2025-12-04

URL: CVE-2025-65945

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: GHSA-869p-cjfg-cm3x

Release Date: 2025-12-04

Fix Resolution (jws): 4.0.1

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-24772

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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.
Mend Note: The description of this vulnerability differs from MITRE.

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

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-24771

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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 is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#⁠1 encoded message 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.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2022-03-18

URL: CVE-2022-24771

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

Release Date: 2022-03-18

Fix Resolution (node-forge): 1.3.0

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2020-8237

Vulnerable Library - json-bigint-0.3.0.tgz

JSON.parse with bigints support

Library home page: https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.0.tgz

Path to dependency file: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/json-bigint/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gcp-metadata-3.5.0.tgz
        • json-bigint-0.3.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Prototype pollution in json-bigint npm package < 1.0.0 may lead to a denial-of-service (DoS) attack.

Publish Date: 2020-09-18

URL: CVE-2020-8237

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: GHSA-wgfq-7857-4jcc

Release Date: 2020-09-18

Fix Resolution: json-bigint - 1.0.0

CVE-2026-33896

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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.4.0, "pki.verifyCertificateChain()" does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both the "basicConstraints" and "keyUsage" extensions. This allows any leaf certificate (without these extensions) to act as a CA and sign other certificates, which node-forge will accept as valid. Version 1.4.0 patches the issue.

Publish Date: 2026-03-27

URL: CVE-2026-33896

CVSS 3 Score Details (7.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • 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

Release Date: 2026-03-27

Fix Resolution: https://github.com/digitalbazaar/forge.git - v1.4.0

WS-2022-0008

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact The "forge.debug" API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way. Patches The "forge.debug" API and related functions were removed in 1.0.0. Workarounds Don't use the "forge.debug" API directly or indirectly with untrusted input. References - https://www.huntr.dev/bounties/1-npm-node-forge/ For more information If you have any questions or comments about this advisory: * Open an issue in "forge" (https://github.com/digitalbazaar/forge). * Email us at support@digitalbazaar.com.

Publish Date: 2026-05-20

URL: WS-2022-0008

CVSS 3 Score Details (6.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • 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-5rrq-pxf6-6jx5

Release Date: 2024-11-03

Fix Resolution (node-forge): 1.0.0

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-66030

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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. An Integer Overflow vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures containing OIDs with oversized arcs. These arcs may be decoded as smaller, trusted OIDs due to 32-bit bitwise truncation, enabling the bypass of downstream OID-based security decisions. This issue has been patched in version 1.3.2.

Publish Date: 2025-11-26

URL: CVE-2025-66030

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: GHSA-65ch-62r8-g69g

Release Date: 2025-11-26

Fix Resolution (node-forge): 1.3.2

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-24773

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.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 properly check "DigestInfo" for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in "node-forge" version 1.3.0. There are currently no known workarounds.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2022-03-18

URL: CVE-2022-24773

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

Release Date: 2022-03-18

Fix Resolution (node-forge): 1.3.0

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-0122

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: /firebase/JavaScript/functions/package.json

Path to vulnerable library: /firebase/JavaScript/functions/node_modules/google-p12-pem/node_modules/node-forge/package.json,/firebase/JavaScript/functions/node_modules/@⁠google-cloud/dialogflow/node_modules/node-forge/package.json

Dependency Hierarchy:

  • pubsub-1.7.3.tgz (Root Library)
    • google-auth-library-5.10.1.tgz
      • gtoken-4.1.4.tgz
        • google-p12-pem-2.0.4.tgz
          • node-forge-0.9.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

forge is vulnerable to URL Redirection to Untrusted Site

Publish Date: 2022-01-06

URL: CVE-2022-0122

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: GHSA-gf8q-jrpm-jvxq

Release Date: 2022-01-06

Fix Resolution (node-forge): 1.0.0

Direct dependency fix Resolution (@⁠google-cloud/pubsub): 2.0.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions