json-sass icon indicating copy to clipboard operation
json-sass copied to clipboard

Old version of lodash is being used here that has a vulnerability. Can we please fix

Open clucaseh opened this issue 5 years ago • 2 comments

Prototype Pollution Module: lodash Published: February 13th 2019 Reported by: asgerf CWE-471 CVE-2018-16487 Vulnerable: <4.17.11 Patched: >=4.17.11 Exploitability: 3 Overview Versions of lodash before 4.17.5 are vulnerable to prototype pollution.

The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Findings json-sass>lodash Remediation Update to version 4.17.11 or later.

References

clucaseh avatar Jan 22 '20 18:01 clucaseh

The package is 5 years old and doesn't seem to be maintained. I think its best to fork it and make a new version if @acdlite isn't going to maintain it.

Martinspire avatar Mar 05 '20 09:03 Martinspire

You(@clucaseh ) can use this package instead: https://www.npmjs.com/package/json2scss-map . We forked it and updated it as per our needs. Although any suggestion would be great.

susanta96 avatar Sep 11 '20 17:09 susanta96