CVE-2024-45605: Sentry Sentry Improperly Authorizes Deletion Of Vulnerability
HIGHCVE-2024-45605 is a HIGH (CVSS 6.5) sentry improperly authorizes deletion of vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Sentry libraries in the PyPI ecosystem. The issue involves sentry improperly authorizes deletion of user issue alert notifications. Remediation is available by upgrading affected packages to version 24.9.0.
CVE-2024-45605 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-45605
To remediate this vulnerability, upgrade all affected Sentry dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install sentry>=24.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sentry
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-45605, inspect your installed packages using pip:
pip show sentry
Analyze the terminal output to locate any version of Sentry in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 24.9.0), your application is affected.
Note: The pip show sentry command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Sentry, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-45605 Affected Sentry Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sentry
|
PyPI |
≥ 23.9.0
< 24.9.0
|
24.9.0
|
References
Frequently Asked Questions
What is CVE-2024-45605?
Which Sentry versions are affected?
What version fixes CVE-2024-45605?
Is sentry affected?
What is the CVSS score of CVE-2024-45605?
What CWE is associated with CVE-2024-45605?
How can I check PyPI dependencies for CVE-2024-45605?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-54m3-95j9-v89j",
"modified" : "2024-11-18T16:27:13Z",
"published" : "2024-09-17T17:55:29Z",
"aliases" : [ "CVE-2024-45605" ],
"summary" : "Sentry improperly authorizes deletion of user issue alert notifications",
"details" : "### Impact\nAn authenticated user may delete user issue alert notifications for arbitrary users given a known alert ID. \n\n### Patches\nA patch was issued to ensure authorization checks are properly scoped on requests to delete user alert notifications.\n\nSentry SaaS users do not need to take any action. [Self-Hosted Sentry](https://github.com/getsentry/self-hosted) users should upgrade to version **24.9.0** or higher.\n\n### References\n- [Prevent muting user alerts](https://github.com/getsentry/sentry/pull/77093/)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sentry"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "23.9.0"
}, {
"fixed" : "24.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/getsentry/sentry/security/advisories/GHSA-54m3-95j9-v89j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45605"
}, {
"type" : "WEB",
"url" : "https://github.com/getsentry/sentry/pull/77093"
}, {
"type" : "WEB",
"url" : "https://github.com/getsentry/sentry/commit/590258255bcb3a5fa4c56f21297b6c99131cfb9d"
}, {
"type" : "WEB",
"url" : "https://github.com/getsentry/self-hosted"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/getsentry/sentry"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-17T17:55:29Z",
"nvd_published_at" : "2024-09-17T20:15:05Z"
}
}