9.1 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
djust has an authorization bypass on the WebSocket/SSE mount path
djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, the live (WebSocket) transport authorizes a mount via `check_view_auth`, not Django's `View.dispatch()` chain. As a result, standard Django authorization — `LoginRequiredMixin`, `PermissionRequiredMixin`, `UserPassesTestMixin`, `@method_decorator(login_required, name="dispatch")`, and custom `dispatch()` guards — and the djust admin extension's staff gate (applied only in the HTTP `as_view` wrapper) were enforced on the initial HTTP GET but silently bypassed over WebSocket, where all events and state flow. An anonymous or under-privileged client could open a WebSocket and mount such a view — including admin list/create/change/delete — and dispatch its handlers. This is fixed in djust 1.0.7. `check_view_auth` now honors the Django `AccessMixin` family on every transport; a new system check S004 fails loud at startup on auth patterns the runtime cannot safely replay (decorator/overridden-`dispatch` forms); and the admin base mixin declares `login_required = True` + an active-staff `check_permissions` gate. As a workaround, gate views using djust's `login_required` / `permission_required` / `check_permissions` attributes (honored on all transports) rather than HTTP-only mixins/decorators.
References
-
https://github.com/djust-org/djust/security/advisories/GHSA-xhhm-f6hp-2qwj x_refsource_CONFIRM
-
https://github.com/djust-org/djust/releases/tag/v1.0.7 x_refsource_MISC
Affected products
- ==< 1.0.7
Matching in nixpkgs
pkgs.python313Packages.adjusttext
Iteratively adjust text position in matplotlib plots to minimize overlaps
pkgs.python314Packages.adjusttext
Iteratively adjust text position in matplotlib plots to minimize overlaps
pkgs.ankiAddons.adjust-sound-volume
Add a new menu item for adjusting the sound volume
pkgs.gnomeExtensions.displays-adjustments
Offers sliders to control external displays' brightness and contrast through DDC. Extension requires ddcutil-service to be installed.
pkgs.vscode-extensions.dendron.adjust-heading-level
VSCode extension to adjust the heading level of the selected text
pkgs.gnomeExtensions.blur-wallpaper-with-adjustable-intensity
Creates a static blurred copy of your current desktop wallpaper for better performance and artifact-free workspace switching. Set intensity from 0 to 300 and wait a moment. Note: ImageMagick (the `magick` command) must be installed.
Package maintainers
-
@junestepp June Stepp <git@junestepp.me>
-
@honnip Jung seungwoo <me@honnip.page>
-
@samuela Samuel Ainsworth <skainsworth@gmail.com>
-
@hexadecimalDinosaur Ivy Fan-Chiang <dev@ivyfanchiang.ca>