Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular
Malicious selector can be passed into tabular_getInfo
- Dominant language
- JavaScript
- Stars
- 360
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
`tabular_getInfo` can be passed a selector that contains `$where`, which could potentially be used to [hang a mongo instance](http://blog.east5th.co/2015/08/10/dos-your-meteor-application-with-where/).
Not sure what you want to do about this. `$where` has its uses, but this is can be a fairly serious problem.
Contributor guide
Research direction
No source file or test is named. Start at tabular_getInfo and trace how the selector reaches MongoDB, then read the linked $where denial-of-service report. Done should include a decided, verified handling of $where that addresses the risk without silently breaking supported selectors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- databases, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100