NCIOCPL / clinical-trials-search-app

Clinical Trial Search Front-end
1 stars 6 forks source link

Upgrade loader-utils to version 2.0.4 or later #610

Closed sarinapadilla closed 1 year ago

sarinapadilla commented 1 year ago

A vulnerability in the loader-utils package has been identified and needs to be addressed.

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils
prior to version 2.0.3 via the name variable in parseQuery.js.

ESTIMATE TBD

Resources:

https://github.com/NCIOCPL/clinical-trials-search-app/security/dependabot/57

Notes

Running npm audit does highlight this as an issue, and it would seem resolve-url-loader is the culprit with the vulnerable version of the package. There are two other high vulnerability issues that use DoS to exploit vulnerabilities just like the loader-utils. Running npm audit fix clears the loader-utils issue along with some others.