Skip to content

Releases

v0.14.4

Choose a tag to compare

@unknwon unknwon released this 12 Nov 02:31
ee8f683

Changed

  • Lowering [auth] ACTIVATE_CODE_LIVES or [auth] RESET_PASSWORD_CODE_LIVES now also shortens the lifetime of activation, email confirmation, and password reset links already sent. #8478

Fixed

  • Security: On Windows hosts, a user creating a repository with initial files or initializing its labels could read files on the server, including the configuration file. #8488 - GHSA-fv2v-vwmj-j74p
  • Security: Referencing an issue in a commit message added a comment to it even when the pusher could not access its repository, letting anyone post into issues of private repositories. #8486 - GHSA-53f6-cgcf-gp6v
  • Security: Viewing an Org-mode file could show the contents of arbitrary files on the server, including the configuration file. #8484 - GHSA-hr26-3fq5-9365
  • Security: On Windows hosts, an authenticated user with write access could still write files into a repository's .git directory through other names for it, leading to code execution on the server. #8483 - GHSA-hc35-pcqw-5xjq
  • Security: A username containing HTML, which could come from an external login source such as LDAP, was rendered as markup on issue and pull request pages and in the dashboard issue and pull request lists. #8482 - GHSA-vhf5-f34f-vhq9
  • Security: Webhooks, repository migrations, and mirrors could reach services on the Gogs host through the IPv6 address [::], bypassing the local network restriction. #8481 - GHSA-799r-mx22-r63q
  • Security: Any signed-in user who knew the UUID of an attachment in another repository, including a private one, could move it to their own issue, comment, or release to download it, in some cases removing it from the original. #8480 - GHSA-p92p-7887-3g33
  • Security: A password reset link could be used to sign in as the user without their password or two-factor authentication. Activation, email confirmation, and password reset links sent before upgrading no longer work. #8472 - GHSA-pmfh-wh5m-gmjm
  • Security: Accounts with login prohibited or not activated kept repository access through access tokens, passwords, and SSH keys. #8439 - GHSA-f9cv-gfvg-3464
  • Security: On Windows hosts, an authenticated user with write access could write files into a repository's .git directory through a crafted tree path. #8408 - GHSA-85m5-cfw6-3cx8
  • Security: Argument injection through a crafted commit or branch reference on several repository API endpoints allowed an authenticated user with read access to leak internal server details to the error logs. #8393 - GHSA-mxrh-2rxr-6mqc
  • Security: Argument injection through a crafted branch name when creating a pull request allowed an authenticated user with write access to write files to arbitrary paths on the server. #8390 - GHSA-2grc-qr7q-6m36
  • Organization member and team actions, such as removing a member or leaving a team, failed with "Bad Request: no CSRF token present". #8399
Previous patch releases

0.14.3

Fixed

  • Security: Reverse proxy authentication header was honored from any remote address, allowing user impersonation when Gogs was reachable directly. The header is now only trusted from addresses listed in [auth] TRUSTED_PROXY_IPS. #8264 - GHSA-w6j9-vw59-27wv
  • Security: Server-side request forgery in webhook deliveries via HTTP redirects to local network addresses. #8263 - GHSA-c4v7-xg93-qf8g
  • Security: Denial of service when rendering issue references against a malformed external issue tracker URL format. #8312 - GHSA-4j89-2c4f-44c6
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through Markdown links with javascript: URLs. #8319 - GHSA-jq8v-rmf6-65jw
  • Security: Missing authorization check on the attachment download endpoint allowed anyone who knew (or guessed) an attachment UUID to download files belonging to private repositories. #8320 - GHSA-p9f5-h3rx-j5qw
  • Security: Organization team and member management actions accepted GET requests, allowing a logged-in owner to be tricked into adding an attacker to the Owners team via a crafted link. #8321 - GHSA-pwx3-qcgw-vh7h
  • Security: SSRF via mirror address update bypassing clone address validation. #8225 - GHSA-wv27-2vqp-j7g5
  • Security: Open redirect on login and other post-action flows via the redirect_to query parameter. #8322 - GHSA-xxhq-69mf-w8cr
  • Security: Privilege escalation to repository owner via collaboration access mode update. #8227 - GHSA-4565-r4x7-hg8j
  • Security: SSRF in repository migration and recurring mirror sync via HTTP redirects and stale host validation on stored mirror URLs. #8324 - GHSA-g2f5-gjr4-qjvm
  • Security: Remote command execution via pull request rebase merges with crafted branch names. #8301 - GHSA-qf6p-p7ww-cwr9
  • Security: Stored XSS in the milestone dropdown on the new issue page via crafted milestone names. #8325 - GHSA-vcm5-gvmp-78mp
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through data:text/html URIs that bypassed the sanitizer. #8326 - GHSA-3w28-36p9-w929
  • Security: Write-level collaborators could change admin-only repository settings (issue tracker, wiki, mirror sync) via API. #8327 - GHSA-268j-37xf-pp52
  • Security: Password reset tokens stayed valid for the account-activation lifetime, ignoring [auth] RESET_PASSWORD_CODE_LIVES. #8328 - GHSA-5c3f-6486-3g7g
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through raw HTML in markdown cells. #8330 - GHSA-6vxv-wg6j-5qwp
  • Security: Read-only Git HTTP access could be confused with write access during repository pushes. #8331 - GHSA-wmfg-5p4h-5fw3
  • Security: Arbitrary file write outside the repository working tree via crafted upload filename routed through a committed directory symlink. #8332 - GHSA-89mr-xqfv-758m
  • Security: Cross-repository disclosure of Git LFS object contents by binding a known OID to another repository without proving possession of the bytes. #8333 - GHSA-6p9m-q3jp-47h4
  • Security: Remote code execution via path traversal in organization names accepted through the API. #8334 - GHSA-c39w-43gm-34h5
  • Security: Stalled SSH handshakes pinned a file descriptor and goroutine indefinitely. The built-in SSH server now drops connections that do not complete the handsh...
Read more

v0.14.4-rc.2

v0.14.4-rc.2 Pre-release
Pre-release

Choose a tag to compare

@unknwon unknwon released this 12 Nov 01:53
ee8f683
org: include CSRF token in member and team action forms

The forms introduced by #8321 on the 0.14 line posted without a CSRF
token, so every organization member and team action failed with
"Bad Request: no CSRF token present".

Fixes #8399

Latest commit build

Latest commit build Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Jan 16:59
014e265

Automated build from the latest commit on main branch. This release is updated automatically with every push to main.

v0.14.4-rc.1

v0.14.4-rc.1 Pre-release
Pre-release

Choose a tag to compare

@unknwon unknwon released this 11 Nov 22:46
958e5a4
ci: drop DSA public key test case and silence errcheck on process tim…

Release archive testing

Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Jan 14:26
a490d38

Automated testing release for workflow development.

0.14.3

Choose a tag to compare

@unknwon unknwon released this 07 Jun 20:51
3ba8aca

ℹ️ Heads up! There is a new patch release 0.14.4 available, we recommend directly installing or upgrading to that version.

Fixed

  • Security: Reverse proxy authentication header was honored from any remote address, allowing user impersonation when Gogs was reachable directly. The header is now only trusted from addresses listed in [auth] TRUSTED_PROXY_IPS. #8264 - GHSA-w6j9-vw59-27wv
  • Security: Server-side request forgery in webhook deliveries via HTTP redirects to local network addresses. #8263 - GHSA-c4v7-xg93-qf8g
  • Security: Denial of service when rendering issue references against a malformed external issue tracker URL format. #8312 - GHSA-4j89-2c4f-44c6
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through Markdown links with javascript: URLs. #8319 - GHSA-jq8v-rmf6-65jw
  • Security: Missing authorization check on the attachment download endpoint allowed anyone who knew (or guessed) an attachment UUID to download files belonging to private repositories. #8320 - GHSA-p9f5-h3rx-j5qw
  • Security: Organization team and member management actions accepted GET requests, allowing a logged-in owner to be tricked into adding an attacker to the Owners team via a crafted link. #8321 - GHSA-pwx3-qcgw-vh7h
  • Security: SSRF via mirror address update bypassing clone address validation. #8225 - GHSA-wv27-2vqp-j7g5
  • Security: Open redirect on login and other post-action flows via the redirect_to query parameter. #8322 - GHSA-xxhq-69mf-w8cr
  • Security: Privilege escalation to repository owner via collaboration access mode update. #8227 - GHSA-4565-r4x7-hg8j
  • Security: SSRF in repository migration and recurring mirror sync via HTTP redirects and stale host validation on stored mirror URLs. #8324 - GHSA-g2f5-gjr4-qjvm
  • Security: Remote command execution via pull request rebase merges with crafted branch names. #8301 - GHSA-qf6p-p7ww-cwr9
  • Security: Stored XSS in the milestone dropdown on the new issue page via crafted milestone names. #8325 - GHSA-vcm5-gvmp-78mp
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through data:text/html URIs that bypassed the sanitizer. #8326 - GHSA-3w28-36p9-w929
  • Security: Write-level collaborators could change admin-only repository settings (issue tracker, wiki, mirror sync) via API. #8327 - GHSA-268j-37xf-pp52
  • Security: Password reset tokens stayed valid for the account-activation lifetime, ignoring [auth] RESET_PASSWORD_CODE_LIVES. #8328 - GHSA-5c3f-6486-3g7g
  • Security: Stored XSS in Jupyter notebook (.ipynb) preview through raw HTML in markdown cells. #8330 - GHSA-6vxv-wg6j-5qwp
  • Security: Read-only Git HTTP access could be confused with write access during repository pushes. #8331 - GHSA-wmfg-5p4h-5fw3
  • Security: Arbitrary file write outside the repository working tree via crafted upload filename routed through a committed directory symlink. #8332 - GHSA-89mr-xqfv-758m
  • Security: Cross-repository disclosure of Git LFS object contents by binding a known OID to another repository without proving possession of the bytes. #8333 - GHSA-6p9m-q3jp-47h4
  • Security: Remote code execution via path traversal in organization names accepted through the API. #8334 - GHSA-c39w-43gm-34h5
  • Security: Stalled SSH handshakes pinned a file descriptor and goroutine indefinitely. The built-in SSH server now drops connections that do not complete the handshake within 15 seconds. #8335 - GHSA-xp79-5mx3-jx52
  • Security: Organization metadata and team list endpoints were reachable without authentication. #8336 - GHSA-744x-3838-5r56
Previous patch releases

0.14.2

Fixed

Removed

  • Support for passing API access tokens via URL query parameters (token, access_token). Use the Authorization header instead. #8177 - GHSA-x9p5-w45c-7ffc

0.14.1

Added

  • Support comparing tags in addition to branches. #6141
  • Show file name in browser tab title when viewing files. #5896
  • Support using TLS for Redis session provider using [session] PROVIDER_CONFIG = ...,tls=true. #7860
  • Support expanading values in app.ini from environment variables, e.g. [database] PASSWORD = ${DATABASE_PASSWORD}. #8057
  • Support custom logout URL that users get redirected to after sign out using [auth] CUSTOM_LOGOUT_URL. #8089
  • Start publishing next-generation, security-focused Docker image via gogs/gogs:next-latest, which will become the default image distribution (gogs/gogs:latest) starting 0.16.0. While not all container options support have been added in the next-generation image, the use of current legacy Docker image is deprecated, it will be published as gogs/gogs:legacy-latest starting 0.16.0, and be completely removed no earlier than 0.17.0. #8061

Changed

  • The required Go version to compile source code changed to 1.25.
  • The build tag cert has been removed, and the gogs cert subcommand is now always available. #7883
  • Switched to pure-Go SQLite driver, CGO is no longer required to compile Gogs. #7882
  • Updated Mermaid JS to 11.9.0. #8009
  • Halt the repository creation and leave the directory untouched if the repository root already exists. #8091

Fixed

Read more

v0.14.3-rc.1

v0.14.3-rc.1 Pre-release
Pre-release

Choose a tag to compare

@unknwon unknwon released this 07 Jun 19:07
3ba8aca

Release candidate for 0.14.3. See CHANGELOG for the full list of changes.

0.14.2

Choose a tag to compare

@unknwon unknwon released this 19 Feb 03:47
5dcb6c6

ℹ️ Heads up! There is a new patch release 0.14.4 available, we recommend directly installing or upgrading to that version.

Fixed

Removed

  • Support for passing API access tokens via URL query parameters (token, access_token). Use the Authorization header instead. #8177 - GHSA-x9p5-w45c-7ffc
Previous patch releases

0.14.1

Added

  • Support comparing tags in addition to branches. #6141
  • Show file name in browser tab title when viewing files. #5896
  • Support using TLS for Redis session provider using [session] PROVIDER_CONFIG = ...,tls=true. #7860
  • Support expanading values in app.ini from environment variables, e.g. [database] PASSWORD = ${DATABASE_PASSWORD}. #8057
  • Support custom logout URL that users get redirected to after sign out using [auth] CUSTOM_LOGOUT_URL. #8089
  • Start publishing next-generation, security-focused Docker image via gogs/gogs:next-latest, which will become the default image distribution (gogs/gogs:latest) starting 0.16.0. While not all container options support have been added in the next-generation image, the use of current legacy Docker image is deprecated, it will be published as gogs/gogs:legacy-latest starting 0.16.0, and be completely removed no earlier than 0.17.0. #8061

Changed

  • The required Go version to compile source code changed to 1.25.
  • The build tag cert has been removed, and the gogs cert subcommand is now always available. #7883
  • Switched to pure-Go SQLite driver, CGO is no longer required to compile Gogs. #7882
  • Updated Mermaid JS to 11.9.0. #8009
  • Halt the repository creation and leave the directory untouched if the repository root already exists. #8091

Fixed

  • Security: Unauthenticated file upload. #8128 - GHSA-fc3h-92p8-h36f
  • Security: Protected branch bypass in web UI. #8124 - GHSA-2c6v-8r3v-gh6p
  • Security: Authorization bypass allows cross-repository label modification. #8123 - GHSA-cv22-72px-f4gh
  • Security: Cross-repository comment deletion. #8119 - GHSA-jj5m-h57j-5gv7
  • 500 error on repository watchers and stargazers pages when using MSSQL. #5482
  • Submodules using ssh:// protocol and a port number are not rendered correctly. #4941
  • Missing link to user profile on the first commit in commits history page. #7404
  • Unable to delete or display files with special characters in their names. #7596
  • Docker healthcheck fails when HTTP_PROXY or HTTPS_PROXY environment variables are set. #7529

v0.14.2-rc.1

v0.14.2-rc.1 Pre-release
Pre-release

Choose a tag to compare

@unknwon unknwon released this 19 Feb 00:27
5dcb6c6

Release candidate for v0.14.2.

0.14.1

Choose a tag to compare

@unknwon unknwon released this 01 Feb 03:32
f5c8030

ℹ️ Heads up! There is a new patch release 0.14.4 available, we recommend directly installing or upgrading to that version.

Added

  • Support comparing tags in addition to branches. #6141
  • Show file name in browser tab title when viewing files. #5896
  • Support using TLS for Redis session provider using [session] PROVIDER_CONFIG = ...,tls=true. #7860
  • Support expanading values in app.ini from environment variables, e.g. [database] PASSWORD = ${DATABASE_PASSWORD}. #8057
  • Support custom logout URL that users get redirected to after sign out using [auth] CUSTOM_LOGOUT_URL. #8089
  • Start publishing next-generation, security-focused Docker image via gogs/gogs:next-latest, which will become the default image distribution (gogs/gogs:latest) starting 0.16.0. While not all container options support have been added in the next-generation image, the use of current legacy Docker image is deprecated, it will be published as gogs/gogs:legacy-latest starting 0.16.0, and be completely removed no earlier than 0.17.0. #8061

Changed

  • The required Go version to compile source code changed to 1.25.
  • The build tag cert has been removed, and the gogs cert subcommand is now always available. #7883
  • Switched to pure-Go SQLite driver, CGO is no longer required to compile Gogs. #7882
  • Updated Mermaid JS to 11.9.0. #8009
  • Halt the repository creation and leave the directory untouched if the repository root already exists. #8091

Fixed

  • Security: Unauthenticated file upload. #8128 - GHSA-fc3h-92p8-h36f
  • Security: Protected branch bypass in web UI. #8124 - GHSA-2c6v-8r3v-gh6p
  • Security: Authorization bypass allows cross-repository label modification. #8123 - GHSA-cv22-72px-f4gh
  • Security: Cross-repository comment deletion. #8119 - GHSA-jj5m-h57j-5gv7
  • 500 error on repository watchers and stargazers pages when using MSSQL. #5482
  • Submodules using ssh:// protocol and a port number are not rendered correctly. #4941
  • Missing link to user profile on the first commit in commits history page. #7404
  • Unable to delete or display files with special characters in their names. #7596
  • Docker healthcheck fails when HTTP_PROXY or HTTPS_PROXY environment variables are set. #7529
⌂ 换网址