Description
A cryptographic issue in OpenPGP.js <=4.2.0 allows an attacker who is able provide forged messages and gain feedback about whether decryption of these messages succeeded to conduct an invalid curve attack in order to gain the victim's ECDH private key.
Remediation
References
http://packetstormsecurity.com/files/154191/OpenPGP.js-4.2.0-Signature-Bypass-Invalid-Curve-Attack.html
https://github.com/openpgpjs/openpgpjs/pull/853
https://github.com/openpgpjs/openpgpjs/pull/853/commits/7ba4f8c655e7fd7706e8d7334e44b40fdf56c43e
https://github.com/openpgpjs/openpgpjs/releases/tag/v4.3.0
https://sec-consult.com/en/blog/advisories/multiple-vulnerabilities-in-openpgp-js/
https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/Studies/Mailvelope_Extensions/Mailvelope_Extensions_pdf.html#download=1
Related Vulnerabilities
CVE-2023-46499 Vulnerability in npm package @evershop/evershop
CVE-2014-3651 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2021-25979 Vulnerability in npm package apostrophe
CVE-2016-10630 Vulnerability in npm package install-g-test
CVE-2020-10673 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind