Review Board 5.0.7 Release Notes¶
Release date: January 16, 2024
Installation/Upgrade¶
Review Board 5.0.7 is compatible with Python 3.7-3.11.
Follow our installation guide to prepare your system for Review Board or to upgrade your existing install.
To install this release, run:
$ pip3 install ReviewBoard==5.0.7
To learn more, see:
For assistance with your server, talk to us about support.
Security Fixes¶
Fixed a security vulnerability allowing users with legitimate access to a server to craft API requests for private diff content.
During an internal audit of our API, we discovered it was possible for a user to construct an HTTP request to diff-related APIs and retrieve diff content when the user lacked permission to access the review request (such as when the review request is in a draft or on a private repository). This was due to a logic error preventing common access checks from being skipped for these APIs.
Only users with legitimate access to a server could access this diff content. Non-draft diffs required use of internal database IDs in order to be accessed.
We are not aware of any incidents regarding this issue, but we consider it a severe issue for companies utilizing private repositories and recommend that all server administrators upgrade immediately.
To address this, and prevent future issues, we’ve done the following:
We’ve fixed this issue across Review Board 3, 4, 5, and 6.
We’ve reached out to affected customers with Premium Support contracts to send patches for their versions.
We’ve enhanced our test suite to check for these kinds of issues across all APIs, automatically.
We’ve completed an audit of all the API resources we provide.
We’re in the process of reworking how our APIs are implemented so that access checks are handled by the common API layer and not per-API implementation, making this kind of issue impossible.
This fix is present in Review Board 6.0.2, 5.0.7, 4.0.13, and 3.0.26.
Contributors¶
Christian Hammond
David Trowbridge
Michelle Aubin