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

NoSQL Injection Fix #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pcorey
Copy link

@pcorey pcorey commented Apr 10, 2017

Tightened up checking of alertInfo in the 'alerts.create' method.

Previously, alertInfo wasn't being thoroughly checked and alertInfo.meta.appId was being passed directly into Apps.find. A malicious user could manually call the "alerts.create" method, passing in a MongoDB query that could hang the database (using $where).

Tighened up checking of `alertInfo` in the 'alerts.create' method.
@robertpitt
Copy link

Hello @pcorey,

I have been informed that MDG are not accepting PR's on this repository, and it's to be un-maintained, however, if you are interested in contributing I am currently starting to work on a separate repository that will hopefully be the community maintained version.

You can visit it here ( https://github.com/kadira-io ) and submit your PR's and Issues over there for discussion.

Regards.

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 this pull request may close these issues.

2 participants