Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update request for node-forge due to several security vulnerabilities #17

Closed
otramony opened this issue Mar 29, 2022 · 0 comments · Fixed by #18
Closed

Update request for node-forge due to several security vulnerabilities #17

otramony opened this issue Mar 29, 2022 · 0 comments · Fixed by #18

Comments

@otramony
Copy link

Is jks-js affected by the following security vulnerabilities?
These were resolved in node-forge 1.3.0.

  • CVE-2022-24773 (MEDIUM): 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. https://nvd.nist.gov/vuln/detail/CVE-2022-24773

  • CVE-2022-24771 (HIGH): 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 is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message 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. https://nvd.nist.gov/vuln/detail/CVE-2022-24771

  • CVE-2022-24772 (HIGH): 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. https://nvd.nist.gov/vuln/detail/CVE-2022-24772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant