CVE-2022-24772
published 2022-03-18CVE-2022-24772: 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…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.01%
59.5th 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 check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. 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.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
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.
OSV
CVE-2022-24772: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript
osv·2022-03-18·CVSS 7.5
CVE-2022-24772 [HIGH] CVE-2022-24772: 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 check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
OSV
Improper Verification of Cryptographic Signature in node-forge
osv·2022-03-18
CVE-2022-24772 [HIGH] 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 does not check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used.
### Patches
The issue has been addressed in `node-forge` `1.3.0`.
### References
For more information, please see
["Bleichenbacher's RSA signature forgery based on implementation error"](https://mailarchive.ietf.org/arch/msg/openpgp/5rnE9ZRN1AokBVj3VqblGlP63QE/)
by Hal Finney.
### 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
GHSA
Improper Verification of Cryptographic Signature in node-forge
ghsa·2022-03-18
CVE-2022-24772 [HIGH] 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 does not check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used.
### Patches
The issue has been addressed in `node-forge` `1.3.0`.
### References
For more information, please see
["Bleichenbacher's RSA signature forgery based on implementation error"](https://mailarchive.ietf.org/arch/msg/openpgp/5rnE9ZRN1AokBVj3VqblGlP63QE/)
by Hal Finney.
### 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
Red Hat
node-forge: Signature verification failing to check tailing garbage bytes can lead to signature forgery
vendor_redhat·2022-03-18·CVSS 7.5
CVE-2022-24772 [HIGH] CWE-347 node-forge: Signature verification failing to check tailing garbage bytes can lead to signature forgery
node-forge: Signature verification failing to check tailing garbage bytes can lead to signature forgery
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 check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. 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 package. This signature verification leniency allows an attacker to forge a signature.
Statement: This flaw affects the DigestInfo ASN.1 structure.
Package: migration-
Debian
CVE-2022-24772: node-node-forge - Forge (also called `node-forge`) is a native implementation of Transport Layer S...
vendor_debian·2022·CVSS 7.5
CVE-2022-24772 [HIGH] CVE-2022-24772: 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 check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. 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-x4jg-mjrx-434ghttps://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2https://github.com/digitalbazaar/forge/security/advisories/GHSA-x4jg-mjrx-434g
2022-03-18
Published