← Back to context

Comment by jorams

4 months ago

This is a weird post to be honest. You've found a whole bunch of serious security issues, filed two PRs, one of which is adding some quotes because

> Those aren't exploitable XSS, but it doesn't hurt to have a second layer of defense.

The other suggests breaking clients that aren't using the more secure version of an OAuth method because

> I can't think of any OAuth client that would like to [use it]

That second one is a good idea, but the maintainer is also right to ask for some discussion before introducing a breaking change.

But crucially: neither of these are the kind of significant security issues you've found. Maybe lead with an actual bug?

> That second one is a good idea, but the maintainer is also right to ask for some discussion before introducing a breaking change.

The discussion seems to be already happening https://codeberg.org/forgejo/forgejo/issues/8634, author of the blog just did drive-by PR rather than looking at issue tracker

It's very much "I know better, do what I told you despise not thinking a second about any second order effects the change might cause" attitude that is so common with security people

  • Yeah, ITOps and software teams are totally aware of the second order effects of their shitty software and compliance failures, security are always the wrong ones.

  • I believe the discussion in #8634 is for a different change, but one of a similar nature.

    • It's not, the maintainer has pointed to that discussion multiple times to the author of the submission, saying they need to resolve that before they can just straight up deprecate authentication methods without any alternatives available to users currently using it.

      1 reply →

Closing the PR without providing feedback beyond "needs further discussion" does not engender said further discussion.

  • PR isn't a place for discussion about what or how to implement change in the first place, that should be forum/mailing list/issues

    and there is open issue for that discussion https://codeberg.org/forgejo/forgejo/issues/8634

    • #8634 is specifically about a breaking change that occurred in v12. It's literally the first line of what you linked:

      > In the v12 release of Forgejo (fixed in v12.0.1) there have been breaking changes that impact third-party authentication sources that use Forgejo as a provider. If you have been affected, please help us assessing the impact ...

  • The response was, "needs a discussion," as in a post on `https://codeberg.org/forgejo/discussions`, rather than directly creating a PR.

    There also was feedback saying approximately that they've been burned by security changes in the recent past and don't want to run into similar issues without due consideration.