CVE-2022-24773
published 2022-03-18CVE-2022-24773: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature…
PriorityP425medium5.3CVSS 3.1
AVNACLPRNUINSUCNILAN
EPSS
0.90%
55.6th percentile
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-node-forge | < node-node-forge 0.10.0~dfsg-3+deb11u1 (bullseye) | node-node-forge 0.10.0~dfsg-3+deb11u1 (bullseye) |
| digitalbazaar | forge | < 1.3.0 | 1.3.0 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Improper Verification of Cryptographic Signature in `node-forge`
ghsa·2022-03-18
CVE-2022-24773 [MEDIUM] CWE-347 Improper Verification of Cryptographic Signature in `node-forge`
Improper Verification of Cryptographic Signature in `node-forge`
### Impact
RSA PKCS#1 v1.5 signature verification code is not properly checking `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.
### Patches
The issue has been addressed in `node-forge` `1.3.0`.
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [forge](https://github.com/digitalbazaar/forge)
* Email us at [example email address](mailto:[email protected])
OSV
Improper Verification of Cryptographic Signature in `node-forge`
osv·2022-03-18
CVE-2022-24773 [MEDIUM] Improper Verification of Cryptographic Signature in `node-forge`
Improper Verification of Cryptographic Signature in `node-forge`
### Impact
RSA PKCS#1 v1.5 signature verification code is not properly checking `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.
### Patches
The issue has been addressed in `node-forge` `1.3.0`.
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [forge](https://github.com/digitalbazaar/forge)
* Email us at [example email address](mailto:[email protected])
OSV
CVE-2022-24773: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript
osv·2022-03-18·CVSS 5.3
CVE-2022-24773 [MEDIUM] CVE-2022-24773: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
Red Hat
node-forge: Signature verification leniency in checking `DigestInfo` structure
vendor_redhat·2022-03-18·CVSS 5.3
CVE-2022-24773 [MEDIUM] CWE-347 node-forge: Signature verification leniency in checking `DigestInfo` structure
node-forge: Signature verification leniency in checking `DigestInfo` structure
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
A flaw was found in the node-forge library when verifying the signature on the ASN.1 structure in RSA PKCS#1 v1.5. This flaw allows an attacker to obtain successful verification for invalid DigestInfo structure, affecting the integrity of the attacked resource.
Package
Debian
CVE-2022-24773: node-node-forge - Forge (also called `node-forge`) is a native implementation of Transport Layer S...
vendor_debian·2022·CVSS 5.3
CVE-2022-24773 [MEDIUM] CVE-2022-24773: node-node-forge - Forge (also called `node-forge`) is a native implementation of Transport Layer S...
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
Scope: local
bullseye: resolved (fixed in 0.10.0~dfsg-3+deb11u1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccrhttps://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2https://github.com/digitalbazaar/forge/security/advisories/GHSA-2r2c-g63r-vccr
2022-03-18
Published