4.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): LOW
- Integrity impact (I): NONE
- Availability impact (A): NONE
Activity log
- Created suggestion
Weblate: Missing access control for the AddonViewSet API exposes all addon configurations
Weblate is a web based localization tool. Prior to version 5.16.1, the REST API's `AddonViewSet` (`weblate/api/views.py`, line 2831) uses `queryset = Addon.objects.all()` without overriding `get_queryset()` to scope results by user permissions. This allows any authenticated user (or anonymous users if `REQUIRE_LOGIN` is not set) to list and retrieve ALL addons across all projects and components via `GET /api/addons/` and `GET /api/addons/{id}/`. Version 5.16.1 fixes the issue.
References
-
https://github.com/WeblateOrg/weblate/security/advisories/GHSA-wppc-7cq7-cgfv x_refsource_CONFIRM
-
https://github.com/WeblateOrg/weblate/pull/18107 x_refsource_MISC
-
https://github.com/WeblateOrg/weblate/pull/18164 x_refsource_MISC
-
https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.16.1 x_refsource_MISC
Affected products
- ==< 5.16.1
Matching in nixpkgs
pkgs.weblate
Web based translation tool with tight version control integration
pkgs.python312Packages.weblate-schemas
Schemas used by Weblate
pkgs.python313Packages.weblate-schemas
Schemas used by Weblate
pkgs.python314Packages.weblate-schemas
Schemas used by Weblate
pkgs.python312Packages.weblate-language-data
Language definitions used by Weblate
pkgs.python313Packages.weblate-language-data
Language definitions used by Weblate
pkgs.python314Packages.weblate-language-data
Language definitions used by Weblate
Package maintainers
-
@erictapen Kerstin Humm <kerstin@erictapen.name>