#VU65780 Improper Verification of Cryptographic Signature in node-forge


Published: 2022-07-26

Vulnerability identifier: #VU65780

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-24773

CWE-ID: CWE-347

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
node-forge
Web applications / Modules and components for CMS

Vendor: Synex Technologies

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. A remote unauthenticated attacker can get a successful verification with signatures that contain invalid structures but a valid digest

Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-forge: 1.0.0 - 1.2.1


External links
http://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1
http://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr
http://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability