REST APIs can list all pages/spaces, leading to unavailability
Package
Affected versions
>= 1.8-rc-1, < 16.10.16
>= 17.0.0-rc-1, < 17.4.8
>= 17.5.0-rc-1, < 17.10.1
Patched versions
16.10.16
17.4.8
17.10.1
>= 1.8-rc-1, < 16.10.16
>= 17.0.0-rc-1, < 17.4.8
>= 17.5.0-rc-1, < 17.10.1
16.10.16
17.4.8
17.10.1
Impact
REST API endpoints like
/xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/propertieslist all available pages as part of the metadata for database list properties, which can exhaust available resources on large wikis.Patches
This problem has been patched by applying the configured query limit also to the available values for database list properties in XWiki 16.10.16, 17.4.8 and 17.10.1.
Workarounds
We're not aware of any workarounds apart from upgrading the affected modules.
References