Session Handling Vulnerability in OVH's Bastion for SSH Access Management
CVE-2025-59339
4.4MEDIUM
What is CVE-2025-59339?
The Bastion tool by OVH is responsible for managing SSH accesses with capabilities such as authentication, authorization, and audit logging. It includes a session recording feature, which generates ttyrec files. However, a flaw exists in the handling of these files when utilizing the osh-encrypt-rsync script. While the script is designed to rotate and encrypt session files using specified GPG keys, it fails to sign these files, compromising the integrity of the session recordings. This oversight could potentially lead to unauthorized manipulation of recorded sessions, making it critical for users to reassess their security configurations and ensure proper access control measures are in place.
Affected Version(s)
the-bastion < 3.22.00