Repository navigation
Release v2.0.37
Fixes the in-app updater and clears the open dependency alerts.
Fixed
- In-app updater: installing the package kills the running GUI (
preinstSIGKILLsbastion-gui), which took the updater down with it and left no GUI afterwards. The install now runs in a detached helper that removes the download and starts the new GUI when apt finishes, and reports a failed install with a desktop notification. Update errors are now shown reliably (they were queued on a thread without an event loop and never displayed).
Changed
release_tool.shnow uses only the released version's changelog section for the GitHub release notes (it used to include the previous version's notes too).
Security
- Removed the unused Python packages (Pillow, Scapy, psutil, pystray, tabulate, NetfilterQueue; none is imported by the code) from
requirements.txt, and stopped installing them from the packages: the deb no longer depends onpython3-psutil,python3-pystrayandpython3-pil, and the rpm no longer requirespython3-pillow/python3-psutilorpip3 installs them in%post. The declared minimums had known vulnerabilities (Pillow 10.2.0 has 29 advisories, fixed in 12.3.0; Scapy 2.5.0 has GHSA-cq46-m9x9-j8w2, fixed in 2.7.0).requirements.txtnow lists only PyQt6, the GUI's one real dependency. - hickory-proto 0.24 -> 0.26.3 (GHSA: CPU exhaustion from O(n²) name compression when encoding DNS messages; affects 0.3.1 to 0.26.0, patched in 0.26.1). The daemon only decodes DNS responses, so the vulnerable path was not reachable, but the dependency is now current. Adapted
dns_snooper.rsto the new API and added tests that parse a real response. bastion-rs/Cargo.lockis now committed (it was git-ignored). It gives reproducible builds and lets Dependabot see the installed versions, which it needs to raise and close alerts.