High severity8.2NVD Advisory· Published Apr 11, 2025· Updated Apr 15, 2026
CVE-2025-23388
CVE-2025-23388
Description
A Stack-based Buffer Overflow vulnerability in SUSE rancher allows for denial of service.This issue affects rancher: from 2.8.0 before 2.8.13, from 2.9.0 before 2.9.7, from 2.10.0 before 2.10.3.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/rancher/rancherGo | >= 2.8.0, < 2.8.13 | 2.8.13 |
github.com/rancher/rancherGo | >= 2.9.0, < 2.9.7 | 2.9.7 |
github.com/rancher/rancherGo | >= 2.10.0, < 2.10.3 | 2.10.3 |
Patches
7cecf1d1e99c7ecc87e7d86e9a717664d9c19a263bf346671[v2.8] Fix public authProviders endpoint (#48958)
2 files changed · +1 −16
pkg/auth/providers/publicapi/store.go+0 −16 modified@@ -1,14 +1,11 @@ package publicapi import ( - "strings" - "github.com/rancher/norman/httperror" "github.com/rancher/norman/objectclient" "github.com/rancher/norman/store/empty" "github.com/rancher/norman/types" "github.com/rancher/rancher/pkg/auth/providers" - "github.com/rancher/rancher/pkg/auth/settings" "github.com/rancher/rancher/pkg/auth/util" v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3" "github.com/rancher/rancher/pkg/namespace" @@ -68,19 +65,6 @@ func (s *authProvidersStore) List(apiContext *types.APIContext, schema *types.Sc return result, nil } -func (s *authProvidersStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error) { - result, err := s.Update(apiContext, schema, data, id) - if err != nil { - return nil, err - } - if strings.EqualFold(settings.FirstLogin.Get(), "true") { - if err := settings.FirstLogin.Set("false"); err != nil { - return nil, err - } - } - return result, nil -} - func setAuthTokensStore(schema *types.Schema, apiContext *config.ScaledContext) { schema.Store = &authTokensStore{ tokens: apiContext.Management.SamlTokens(""),
pkg/schemas/management.cattle.io/v3public/public_schema.go+1 −0 modified@@ -32,6 +32,7 @@ func authProvidersTypes(schemas *types.Schemas) *types.Schemas { }). MustImportAndCustomize(&PublicVersion, v3.AuthProvider{}, func(schema *types.Schema) { schema.CollectionMethods = []string{http.MethodGet} + schema.ResourceMethods = []string{http.MethodGet} }). // Local provider MustImportAndCustomize(&PublicVersion, v3.LocalProvider{}, func(schema *types.Schema) {
5c7aded42509[v2.9] Fix public authProviders endpoint (#48957)
2 files changed · +1 −16
pkg/auth/providers/publicapi/store.go+0 −16 modified@@ -1,14 +1,11 @@ package publicapi import ( - "strings" - "github.com/rancher/norman/httperror" "github.com/rancher/norman/objectclient" "github.com/rancher/norman/store/empty" "github.com/rancher/norman/types" "github.com/rancher/rancher/pkg/auth/providers" - "github.com/rancher/rancher/pkg/auth/settings" "github.com/rancher/rancher/pkg/auth/util" v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3" "github.com/rancher/rancher/pkg/namespace" @@ -68,19 +65,6 @@ func (s *authProvidersStore) List(apiContext *types.APIContext, schema *types.Sc return result, nil } -func (s *authProvidersStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error) { - result, err := s.Update(apiContext, schema, data, id) - if err != nil { - return nil, err - } - if strings.EqualFold(settings.FirstLogin.Get(), "true") { - if err := settings.FirstLogin.Set("false"); err != nil { - return nil, err - } - } - return result, nil -} - func setAuthTokensStore(schema *types.Schema, apiContext *config.ScaledContext) { schema.Store = &authTokensStore{ tokens: apiContext.Management.SamlTokens(""),
pkg/schemas/management.cattle.io/v3public/public_schema.go+1 −0 modified@@ -32,6 +32,7 @@ func authProvidersTypes(schemas *types.Schemas) *types.Schemas { }). MustImportAndCustomize(&PublicVersion, v3.AuthProvider{}, func(schema *types.Schema) { schema.CollectionMethods = []string{http.MethodGet} + schema.ResourceMethods = []string{http.MethodGet} }). // Local provider MustImportAndCustomize(&PublicVersion, v3.LocalProvider{}, func(schema *types.Schema) {
92d55b799ac1[v2.10] Fix public authProviders endpoint (#48954)
2 files changed · +1 −16
pkg/auth/providers/publicapi/store.go+0 −16 modified@@ -1,14 +1,11 @@ package publicapi import ( - "strings" - "github.com/rancher/norman/httperror" "github.com/rancher/norman/objectclient" "github.com/rancher/norman/store/empty" "github.com/rancher/norman/types" "github.com/rancher/rancher/pkg/auth/providers" - "github.com/rancher/rancher/pkg/auth/settings" "github.com/rancher/rancher/pkg/auth/util" v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3" "github.com/rancher/rancher/pkg/namespace" @@ -68,19 +65,6 @@ func (s *authProvidersStore) List(apiContext *types.APIContext, schema *types.Sc return result, nil } -func (s *authProvidersStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error) { - result, err := s.Update(apiContext, schema, data, id) - if err != nil { - return nil, err - } - if strings.EqualFold(settings.FirstLogin.Get(), "true") { - if err := settings.FirstLogin.Set("false"); err != nil { - return nil, err - } - } - return result, nil -} - func setAuthTokensStore(schema *types.Schema, apiContext *config.ScaledContext) { schema.Store = &authTokensStore{ tokens: apiContext.Management.SamlTokens(""),
pkg/schemas/management.cattle.io/v3public/public_schema.go+1 −0 modified@@ -32,6 +32,7 @@ func authProvidersTypes(schemas *types.Schemas) *types.Schemas { }). MustImportAndCustomize(&PublicVersion, v3.AuthProvider{}, func(schema *types.Schema) { schema.CollectionMethods = []string{http.MethodGet} + schema.ResourceMethods = []string{http.MethodGet} }). // Local provider MustImportAndCustomize(&PublicVersion, v3.LocalProvider{}, func(schema *types.Schema) {
de3ffa88cc75Fix public authProviders endpoint (#48608)
2 files changed · +1 −16
pkg/auth/providers/publicapi/store.go+0 −16 modified@@ -1,14 +1,11 @@ package publicapi import ( - "strings" - "github.com/rancher/norman/httperror" "github.com/rancher/norman/objectclient" "github.com/rancher/norman/store/empty" "github.com/rancher/norman/types" "github.com/rancher/rancher/pkg/auth/providers" - "github.com/rancher/rancher/pkg/auth/settings" "github.com/rancher/rancher/pkg/auth/util" v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3" "github.com/rancher/rancher/pkg/namespace" @@ -68,19 +65,6 @@ func (s *authProvidersStore) List(apiContext *types.APIContext, schema *types.Sc return result, nil } -func (s *authProvidersStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error) { - result, err := s.Update(apiContext, schema, data, id) - if err != nil { - return nil, err - } - if strings.EqualFold(settings.FirstLogin.Get(), "true") { - if err := settings.FirstLogin.Set("false"); err != nil { - return nil, err - } - } - return result, nil -} - func setAuthTokensStore(schema *types.Schema, apiContext *config.ScaledContext) { schema.Store = &authTokensStore{ tokens: apiContext.Management.SamlTokens(""),
pkg/schemas/management.cattle.io/v3public/public_schema.go+1 −0 modified@@ -32,6 +32,7 @@ func authProvidersTypes(schemas *types.Schemas) *types.Schemas { }). MustImportAndCustomize(&PublicVersion, v3.AuthProvider{}, func(schema *types.Schema) { schema.CollectionMethods = []string{http.MethodGet} + schema.ResourceMethods = []string{http.MethodGet} }). // Local provider MustImportAndCustomize(&PublicVersion, v3.LocalProvider{}, func(schema *types.Schema) {
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
14- github.com/advisories/GHSA-xr9q-h9c7-xw8qghsaADVISORY
- github.com/rancher/rancher/commit/5c7aded42509ae526383bb296138e8ea0dff9d13ghsaWEB
- github.com/rancher/rancher/commit/92d55b799ac172734106569b61ca87bbd5affcb2ghsaWEB
- github.com/rancher/rancher/commit/a263bf3466717ee4bab802d499a5a167d274813dghsaWEB
- github.com/rancher/rancher/commit/de3ffa88cc75ae3da122bd36a4489663b5157ee3ghsaWEB
- github.com/rancher/rancher/pull/48608ghsaWEB
- github.com/rancher/rancher/pull/48954ghsaWEB
- github.com/rancher/rancher/pull/48957ghsaWEB
- github.com/rancher/rancher/pull/48958ghsaWEB
- github.com/rancher/rancher/releases/tag/v2.10.3ghsaWEB
- github.com/rancher/rancher/releases/tag/v2.8.13ghsaWEB
- github.com/rancher/rancher/releases/tag/v2.9.7ghsaWEB
- github.com/rancher/rancher/security/advisories/GHSA-xr9q-h9c7-xw8qnvdWEB
- bugzilla.suse.com/show_bug.cginvd
News mentions
0No linked articles in our index yet.