CVE-2023-25653
Assigner: GitHub_M
Published: 2023-02-16T18:15:27.085Z
State: PUBLISHED
title: Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS)
problemTypes: descriptions: cweId: CWE-835
description: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 7.5
baseSeverity: HIGH
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
version: 3.1
affected: vendor: cisco
product: node-jose
versions: version: < 2.2.0
status: affected
descriptions: value: node-jose is a JavaScript implementation of the JSON Object Signing and Encryption (JOSE) for web browsers and node.js-based servers. Prior to version 2.2.0, when using the non-default "fallback" crypto back-end, ECC operations in `node-jose` can trigger a Denial-of-Service (DoS) condition, due to a possible infinite loop in an internal calculation.  For some ECC operations, this condition is triggered randomly; for others, it can be triggered by malicious input. The issue has been patched in version 2.2.0. Since this issue is only present in the "fallback" crypto implementation, it can be avoided by ensuring that either WebCrypto or the Node `crypto` module is available in the JS environment where `node-jose` is being run.
source: advisory: GHSA-5h4j-qrvg-9xhw
discovery: UNKNOWN