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

Vulnerability in jsen #85

Open
Poonam-Vijaywargiya opened this issue Nov 25, 2020 · 0 comments
Open

Vulnerability in jsen #85

Poonam-Vijaywargiya opened this issue Nov 25, 2020 · 0 comments

Comments

@Poonam-Vijaywargiya
Copy link

Poonam-Vijaywargiya commented Nov 25, 2020

As per https://nvd.nist.gov/vuln/detail/CVE-2020-7777

This affects all versions of package jsen. If an attacker can control the schema file, it could run arbitrary JavaScript code on the victim machine. In the module description and README file there is no mention about the risks of untrusted schema files, so I assume that this is applicable. In particular the required field of the schema is not properly sanitized. The resulting string that is build based on the schema definition is then passed to a Function.apply();, leading to an Arbitrary Code Execution.

Is it going to be taken care?

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