Page MenuHomePhabricator

Gerrit security release 3.3.10
Closed, ResolvedPublicSecurity

Description

https://groups.google.com/g/repo-discuss/c/JGx3G_KKi9Y

Gerrit version 3.3.10 is now available.

This release includes a fix to prevent DoS by anonymous users performing unlimited changes queries. See the release notes for more details.

Release Notes: https://www.gerritcodereview.com/3.3.html#3310

Log of changes since 3.3.9: https://gerrit.googlesource.com/gerrit/+log/v3.3.9..v3.3.10?no-merges

Security updates:

  • Change 333304: Ignore --no-limit query changes option for anonymous users
  • Prevent the use of no-limit option with query changes REST API. The option can result in excessive resources usage make Gerrit subject to DoS and DDoS by any remote endpoint without the need to have any Gerrit account or signing in.

Event Timeline

hashar changed the visibility from "Custom Policy" to "Public (No Login Required)".
hashar changed the edit policy from "Custom Policy" to "All Users".

Change 772838 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@wmf/stable-3.3] Merge tag 'v3.3.10' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/772838

Mentioned in SAL (#wikimedia-releng) [2022-03-22T14:44:37Z] <hashar> gerrit: ./deploy_artifacts.py --version=3.3.10 gerrit.war T304226

Change 772838 merged by jenkins-bot:

[operations/software/gerrit@wmf/stable-3.3] Merge tag 'v3.3.10' into wmf/stable-3.3

https://gerrit.wikimedia.org/r/772838

Change 772846 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.3] Update Gerrit to v3.3.10

https://gerrit.wikimedia.org/r/772846

Change 772846 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.3] Update Gerrit to v3.3.10

https://gerrit.wikimedia.org/r/772846

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:06:22Z] <hashar@deploy1002> Started deploy [gerrit/gerrit@967b0d7]: Gerrit to 3.3.10 on gerrit2001 T304226

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:06:35Z] <hashar@deploy1002> Finished deploy [gerrit/gerrit@967b0d7]: Gerrit to 3.3.10 on gerrit2001 T304226 (duration: 00m 12s)

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:13:46Z] <hashar@deploy1002> Started deploy [gerrit/gerrit@967b0d7]: Gerrit to 3.3.10 on gerrit1001 T304226

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:13:56Z] <hashar@deploy1002> Finished deploy [gerrit/gerrit@967b0d7]: Gerrit to 3.3.10 on gerrit1001 T304226 (duration: 00m 10s)

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:14:31Z] <hashar> Stopping Gerrit for security update T304226

Mentioned in SAL (#wikimedia-operations) [2022-03-22T15:17:04Z] <hashar> Gerrit 3.3.10 up and running T304226

Both Gerrit instances are running 3.3.10.

The plugins are all set.

I tested CI by reopening a change for test/gerrit-ping https://gerrit.wikimedia.org/r/c/test/gerrit-ping/+/226272 which confirms Zuul reconnected properly.

No errors in the logs https://logstash.wikimedia.org/app/dashboards#/view/AW1f-0k0ZKA7RpirlnKV

Success!

This seems to have broken the ability to page between search results for repositories, there is no option to see a page 2 at https://gerrit.wikimedia.org/r/admin/repos/q/filter:mediawiki