Home / mailings [USN-9399-1] Sentry SDK vulnerabilities
Posted on 02 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9399-1
December 02, 2026
sentry-python vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Summary:
The Sentry SDK could be made to expose sensitive information.
Software Description:
- sentry-python: Python SDK for Sentry
Details:
It was discovered that the Django integration in the Sentry SDK did not
remove the values of custom-named session cookies from the data it sent to
Sentry. If the SDK was configured to send personally identifiable
information, an attacker with access to the Sentry issues could possibly
use this issue to obtain sensitive information and impersonate users. This
issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-28117)
It was discovered that the Sentry SDK passed all environment variables to
subprocesses, even when an application requested an empty environment. An
attacker could possibly use this issue to obtain sensitive information.
(CVE-2024-40647)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.04 LTS
python3-sentry-sdk 1.39.2-0.1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
python3-sentry-sdk 1.4.3-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 20.04 LTS
python3-sentry-sdk 0.12.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-9399-1
CVE-2023-28117, CVE-2024-40647
--===============5803552473057372545==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
