Skip to content

Conversation

tim-band
Copy link
Contributor

Angular updated to v20.
There are still 2 critical security vulnerabilities reported; this seems to be two reports of the same vulnerability.

This is for the version of gh-pages that angular-cli-ghpages depends upon. There is a PR updating angular-cli-ghpages to a fixed version of gh-pages, but it has been sitting there unmerged for over a year.

So, we need to work out if we can live with the vulnerability. Look at the lines dirs[partial] = true; in gh-pages's utils.js in version 1.2.0. This means that an attacker would need to run npm run gh-pages-deploy in a directory with names like __proto__, toString and hasOwnProperty. It is hard to know how that would be useful to anyone, but also that attacker would have to be a developer, and how would they use this to attack build-oracc or oracc2? I don't see it myself.

But if we don't want the optics of this, we can just delete the option to deployment to github pages.

@tim-band tim-band requested a review from acholyn July 14, 2025 16:57
@tim-band
Copy link
Contributor Author

By the way, I think we should merge this one and treat the Critical issue separately.

@acholyn
Copy link
Contributor

acholyn commented Jul 17, 2025

I think part of wrapping this up should be disabling the gh deploy (if that's straightforward) with the option to reenable it if other devs pick it up

@tim-band tim-band merged commit 8fc9e75 into dev Jul 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants