You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
upgrade javascript dependencies with security issues #5950
@rohityadavcloud these are the dependencies from that github page.
nanoid
Moderate severity
shelljs
High severity
follow-redirects
High severity
json-schema
Moderate severity
ansi-regex
Moderate severity
nth-check
Moderate severity
tmpl
Moderate severity
axios
High severity
ansi-html
High severity
path-parse
Moderate severity
tar
High severity
@npmcli/git
Moderate severity
normalize-url
High severity
color-string
Moderate severity
trim-newlines
High severity
glob-parent
High severity
ws
Moderate severity
dns-packet
High severity
browserslist
Moderate severity
postcss
Moderate severity
hosted-git-info
Moderate severity
ssri
High severity
url-parse
High severity
lodash
High severity
merge
High severity
is-svg
High severity
y18n
High severity
elliptic
Moderate severity
node-notifier
Moderate severity
ini
High severity
highlight.js
Moderate severity
object-path
High severity
node-forge
High severity
node-fetch
High severity
bl
High severity
yargs-parser
Moderate severity
dot-prop
High severity
prismjs
High severity
serialize-javascript
High severity
@pjfanning Let's check back on the dependencies when #5151 is merged as it involves changing the vue library itself which could potentially fix some of the dependency issues
Thanks for working on #5151 - it does fix a lot of the dependabot highlighted issues. There are still a number of CVEs present though. One example is GHSA-hgjh-723h-mx2j
Would it be possible to use npm audit fix on the latest code to see if there any low-hanging fruit changes that can be made?
2cents - I think build dependencies can warning may be reviewed and ignored as the build depdencies aren't used to serve/run the webapp, we only use them to build a SPA (single page app) which is statically served by embedded Jetty. We don't use node-sass in prod.
Activity
yadvr commentedon Feb 6, 2022
That link gives a 404, maybe it's privately visible only @pjfanning ?
pjfanning commentedon Feb 6, 2022
@rohityadavcloud these are the dependencies from that github page.
pjfanning commentedon Feb 6, 2022
It's easy to get github to run dependabot analyses on your own github fork of apache/cloudstack - there is Security tab (between Wiki and Insights)
davidjumani commentedon Feb 25, 2022
@pjfanning Let's check back on the dependencies when #5151 is merged as it involves changing the vue library itself which could potentially fix some of the dependency issues
nvazquez commentedon Mar 10, 2022
PR #5151 got merged today - @davidjumani please advise if this issue is still valid after the vue upgrade
pjfanning commentedon Mar 10, 2022
Thanks for working on #5151 - it does fix a lot of the dependabot highlighted issues. There are still a number of CVEs present though. One example is GHSA-hgjh-723h-mx2j
Would it be possible to use
npm audit fixon the latest code to see if there any low-hanging fruit changes that can be made?davidjumani commentedon Mar 14, 2022
Can be fixed by #6091
nvazquez commentedon Mar 16, 2022
PR #6091 merged, @davidjumani can you please advise if there are more dependencies to update after the PR merged?
pjfanning commentedon Mar 16, 2022
thanks for looking into this - dependabot is still recommending this - https://github.com/apache/cloudstack/blob/main/ui/package.json#L89 to update to 7.0.0 - due to GHSA-r8f7-9pfq-mjmv
davidjumani commentedon Mar 16, 2022
@utchoang Can you please check if updating this will cause breaking changes? Thanks
yadvr commentedon Mar 16, 2022
2cents - I think build dependencies can warning may be reviewed and ignored as the build depdencies aren't used to serve/run the webapp, we only use them to build a SPA (single page app) which is statically served by embedded Jetty. We don't use node-sass in prod.
yadvr commentedon Jun 30, 2022
Addressed in #6142 pl re-open if there's something we've missed. Thanks for the bug report @pjfanning