A flaw was found in node-forge. The library fails to properly validate Public-Key Cryptography Standards #7 (PKCS#7) padding during Cipher Block Chaining (CBC) and Electronic Codebook (ECB) decryption modes by inspecting only the final byte. A remote attacker could exploit this issue by supplying malformed ciphertext with invalid or mismatched padding. This flaw can lead to a loss of data integrity, as affected applications may accept corrupted data as valid while silently truncating portions of the decrypted plaintext.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:LA:N3.7/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N