PT-2021-18221 · Unknown · Jose-Node-Cjs-Runtime

Morgan Brown

·

Published

2021-04-16

·

Updated

2023-03-21

·

CVE-2021-29446

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: jose-node-cjs-runtime versions prior to 3.11.4
Description: The AES CBC HMAC SHA2 Algorithm decryption in the jose-node-cjs-runtime package has a timing difference when a padding error occurs, creating a padding oracle. This allows an adversary to potentially decrypt data without knowing the decryption key by making on average 128*b calls to the padding oracle, where b is the number of bytes in the ciphertext block.
Recommendations: For versions prior to 3.11.4, upgrade to version 3.11.4 or later to ensure the HMAC tag is verified before performing CBC decryption.

Fix

Side Channel Attack

Weakness Enumeration

Related Identifiers

CVE-2021-29446
GHSA-RVCW-F68W-8H8H

Affected Products

Jose-Node-Cjs-Runtime