Explorar el Código

Merge pull request #1521 from slingamn/pointfix

security fix necessitating 2.5.1
tags/v2.5.1^0
Shivaram Lingamneni hace 3 años
padre
commit
4860c5cad0
No account linked to committer's email address
Se han modificado 3 ficheros con 13 adiciones y 2 borrados
  1. 11
    0
      CHANGELOG.md
  2. 1
    1
      irc/nickserv.go
  3. 1
    1
      irc/version.go

+ 11
- 0
CHANGELOG.md Ver fichero

@@ -1,6 +1,17 @@
1 1
 # Changelog
2 2
 All notable changes to Oragono will be documented in this file.
3 3
 
4
+## [2.5.1] - 2021-02-02
5
+
6
+Oragono 2.5.1 is a bugfix release that fixes a significant security issue. We apologize for the oversight.
7
+
8
+This release includes no changes to the config file format or the database.
9
+
10
+Many thanks to [@xnaas](https://github.com/xnaas) for reporting the issue.
11
+
12
+### Security
13
+* Fix an incorrect permissions check in NickServ (#1520, thanks [@xnaas](https://github.com/xnaas)!)
14
+
4 15
 ## [2.5.0] - 2021-01-31
5 16
 
6 17
 We're pleased to announce Oragono 2.5.0, a new stable release.

+ 1
- 1
irc/nickserv.go Ver fichero

@@ -1148,7 +1148,7 @@ func nsClientsLogoutHandler(service *ircService, server *Server, client *Client,
1148 1148
 		// User must have "kill" privileges to logout other user sessions.
1149 1149
 		if target != client {
1150 1150
 			oper := client.Oper()
1151
-			if oper.HasRoleCapab("kill") {
1151
+			if !oper.HasRoleCapab("kill") {
1152 1152
 				service.Notice(rb, client.t("Insufficient oper privs"))
1153 1153
 				return
1154 1154
 			}

+ 1
- 1
irc/version.go Ver fichero

@@ -7,7 +7,7 @@ import "fmt"
7 7
 
8 8
 const (
9 9
 	// SemVer is the semantic version of Oragono.
10
-	SemVer = "2.6.0-unreleased"
10
+	SemVer = "2.5.1"
11 11
 )
12 12
 
13 13
 var (

Loading…
Cancelar
Guardar