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

Security Vulnerabilities in @layerzerolabs/lz-v2-utilities Package #101

Open
abubakvr opened this issue Aug 19, 2024 · 0 comments
Open

Security Vulnerabilities in @layerzerolabs/lz-v2-utilities Package #101

abubakvr opened this issue Aug 19, 2024 · 0 comments

Comments

@abubakvr
Copy link

abubakvr commented Aug 19, 2024

Issue Summary

The npm audit report has identified multiple security vulnerabilities in the elliptic package, which is a dependency of the @ethersproject/signing-key, which is indirectly a dependency of @ethersproject/abi after installing @layerzerolabs/lz-v2-utilities package.

Vulnerabilities

  1. Elliptic's EDDSA missing signature length check
  2. Elliptic's ECDSA missing check for whether leading bit of r and s is zero
  3. Elliptic allows BER-encoded signatures

Steps to Reproduce

  1. Run npm audit in the project.
  2. Observe the vulnerabilities mentioned above.

The audit suggests running npm audit fix --force, but this will result in a breaking change by downgrading @layerzerolabs/lz-v2-utilities to version 2.1.6.

@abubakvr abubakvr changed the title Security Vulnerabilities in @ethersproject/abi Dependency Security Vulnerabilities in @layerzerolabs/lz-v2-utilities Package Aug 19, 2024
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

No branches or pull requests

1 participant