-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Node-red image v3.1.6 has vulnerabilities (jQuery and jQuery UI) #833
Comments
@dceejay can you transfer this to the node-red/node-red project where it belongs please |
@OlgasAcc Node-RED 3.1.x already includes jQuery 3.5.1 and jQuery UI 1.13.2 What leads you to think the older versions are included? You originally raised this issue in the docker repo - were you maybe running an older version? Looking at the history, I think 3.0 contained the vulnerable versions at one point. |
@knolleary I've checked it this way:
![]() ![]() These paths were mentioned by our Aqua Security scanner that detected the vulnerabilities. |
I think gridstack is part of the dashboard v1 node not the core of node-red. Maybe time to move to dashboard v2 ? |
I have just pulled It does not contain As @dceejay says, this is likely because you have installed |
gridstack is not in the minimal container
|
@knolleary, @dceejay yes, we install node-red-dashboard by running "npm install node-red-dashboard" in the Dockerfile, the current version is 3.6.2 (latest): So you say the dashboard is not really using the JQuery js and UI versions mentioned in the files, right? But why these files are placed under /dist once the dashboard installed? |
they are included in the gridlock build - so just get dragged in automatically. |
@dceejay thanks, I've re-created node-red image using Dockerfile and re-installed node-red-dashboard by running "npm install node-red-dashboard@3.6.3". ![]() |
Aargh - yes - deleted on packaging... not at install where it needs to be... now refixed in v3.6.5 |
@dceejay thanks a lot, works good now! |
The latest version includes dependencies of insecure versions:
jQuery current v3.4.1:
NVD URL :
https://nvd.nist.gov/vuln/detail/CVE-2020-11023,
https://nvd.nist.gov/vuln/detail/CVE-2020-23064,
https://nvd.nist.gov/vuln/detail/CVE-2020-11022
Fix Version : 3.5.0
jQuery UI current - v1.12.1:
NVD URL :
https://nvd.nist.gov/vuln/detail/CVE-2021-41182,
https://nvd.nist.gov/vuln/detail/CVE-2022-31160,
https://nvd.nist.gov/vuln/detail/CVE-2021-41184,
https://nvd.nist.gov/vuln/detail/CVE-2021-41183,
https://nvd.nist.gov/vuln/detail/CVE-2021-41182
Fix Version : 1.13.0
Please upgrade if possible.
The text was updated successfully, but these errors were encountered: