Skip to content

Releases

v1.8.9

Choose a tag to compare

@github-actions github-actions released this 19 Oct 19:52

Phproject 1.8.9 includes security fixes.

See GHSA-jph8-62xg-j88w for details of the security vulnerabilities addressed in this release.

Full Changelog: v1.8.8...v1.8.9

v1.8.8

Choose a tag to compare

@github-actions github-actions released this 08 Oct 18:07

Phproject 1.8.8 includes security fixes.

See GHSA-8hh8-fg8c-5397 for details of the security vulnerabilities addressed in this release.

Full Changelog: v1.8.7...v1.8.8

v1.8.7

Choose a tag to compare

@Alanaktion Alanaktion released this 02 Oct 18:56

Phproject v1.8.7

This is a security release that fixes several access control problems in the REST API and the Atom feed. All users should upgrade, especially instances that turn on Restrict issue access (security.restrict_access) or that use API keys.

Security fixes

The REST API ignored restricted issue access (GHSA-mpq9-v47x-3hw8)

When security.restrict_access was on, several API endpoints didn't check whether the user could access the issue. Any user with a valid API key could read restricted issues they shouldn't see, including owner and author email addresses, and could post comments on them.

These endpoints now enforce the same issue access rules as the web interface:

  • GET /issues/{id}.json returns 403 for issues the user can't access.
  • GET /issues/{id}/comments.json returns 403 for issues the user can't access.
  • POST /issues/{id}/comments.json returns 403 for issues the user can't access.
  • GET /issues.json now lists only issues the user can access. For non-admin users, it also leaves out deleted issues.
  • GET /tag/{tag}.json now leaves out issues the user can't access.

The Atom feed ignored restricted issue access

GET /atom.xml?key=… could list restricted issues, either with type=all or by giving another user's username. The feed now includes only issues that the API key's owner can access.

API keys of deleted users still worked

When a user was deleted, their API key kept working for the REST API and the Atom feed. Keys that belong to deleted users are now rejected: the REST API returns 401 and the Atom feed returns 403.

Users could create issues as someone else through the API

POST /issues.json accepted an author_id from any user, so an issue could be created that appeared to come from someone else. Only administrators can set author_id now. Everyone else's issues are always created under their own account.

Issues could be attached to parents the user couldn't access

POST /issues.json and PUT /issues/{id}.json accepted a parent_id pointing to an issue the user can't access. Both endpoints now return 400 in that case, which matches how the web interface handles it.

Hardened which fields PUT /issues/{id}.json can write

The update endpoint now writes only real issue columns. It no longer accepts the computed fields from the issue detail view, such as author_name or status_name. The id field can no longer be changed, and neither can author_id or closed_date, which were already protected.

Bug fixes

  • With Restrict issue access on, users who aren't in any group got an error when viewing issues and issue lists. Those pages now work as expected.

Upgrade notes

  • API clients: non-admin keys now get 403 Forbidden when they request issues outside their access, where they used to get the issue's data. Clients that relied on the old behavior must use an account with the right access.
  • Non-admin API keys: GET /issues.json no longer returns deleted issues for these keys. Administrators still see deleted issues.
  • Integrations that set author_id when creating issues must use an administrator's API key. Otherwise the value is ignored and the key's owner becomes the author.
  • No database changes are needed.

Credits

Thanks to @btarr-vc who reported the REST API access control problem responsibly. While fixing it, a wider audit of the API found the other problems listed above.

v1.8.6

Choose a tag to compare

@github-actions github-actions released this 15 Sep 18:02

Phproject 1.8.6 includes security fixes.

See GHSA-45jf-xrq9-qqmp for details of the security vulnerabilities addressed in this release.

Full Changelog: v1.8.5...v1.8.6

v1.8.5

Choose a tag to compare

@github-actions github-actions released this 24 Aug 20:33

Phproject 1.8.5 includes important security and bug fixes.

See GHSA-pv56-whf2-3jg8 for details of the security vulnerabilities addressed in this release.

Full Changelog: v1.8.4...v1.8.5

v1.8.4

Choose a tag to compare

@github-actions github-actions released this 04 Mar 01:58
v1.8.4

Phproject 1.8.4 includes a number of important security fixes.

Users should upgrade immediately, especially if they are running a public instance of the application.

See #426 for details of the security vulnerabilities addressed in this release.

Full Changelog: v1.8.3...v1.8.4

v1.8.3

Choose a tag to compare

@github-actions github-actions released this 20 Aug 18:40

Phproject 1.8.3 includes important security fixes for users on SQLite databases.

v1.8.2

Choose a tag to compare

@github-actions github-actions released this 11 Aug 22:12
Bump F3 framework version

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 22 Jun 22:18
v1.8.1

Fixes an issue with authorization on PHP 8.4

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 19:22
v1.8.0
a77e052
  • Adds support for SQLite databases
  • Adds support for PHP 8.4
  • Updated translations, including machine translations of all previously-untranslated strings

Breaking changes:

PHP < 8.1 is no longer supported — Phproject aims to support any active PHP release as well as any PHP version actively supported by an Ubuntu LTS release (Currently PHP 8.1, 8.2, 8.3, and 8.4)