Skip to content

Commit

Permalink
new vulnerability in django-guardian
Browse files Browse the repository at this point in the history
  • Loading branch information
sampion88 committed Jan 24, 2025
1 parent 34a2f96 commit 9050a52
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions input/new.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
{
"package_name": "",
"patch_versions": [],
"vulnerable_ranges": [],
"cwe": [],
"tldr": "",
"doest_this_affect_me": "",
"how_to_fix": "",
"vulnerable_to": "",
"package_name": "django-guardian",
"patch_versions": [
"3.0.0rc1"
],
"vulnerable_ranges": [
[
"1.0.0",
"2.4.0"
]
],
"cwe": [
"CWE-285"
],
"tldr": "Affected versions of this package fail to properly enforce checks for guardian permissions, making both `GuardedModelAdminMixin` and `GuardedModelAdmin` unsafe. Any user who accesses the paths provided by `GuardedModelAdminMixin` can view, add, change, and delete guardian permissions for any user, regardless of whether the current user has the necessary guardian permissions. This vulnerability allows unauthorized users to manipulate permissions, potentially compromising the security and integrity of the system.",
"doest_this_affect_me": "You are affected if you are using a version that falls within the vulnerable range.",
"how_to_fix": "Upgrade the `django-guardian` library to the patch version.",
"vulnerable_to": "Improper Authorization",
"related_cve_id": "",
"language": "",
"severity_class": "",
"aikido_score": 0,
"changelog": ""
"language": "python",
"severity_class": "HIGH",
"aikido_score": 70,
"changelog": "https://github.com/django-guardian/django-guardian/releases/tag/3.0.0rc1"
}

0 comments on commit 9050a52

Please sign in to comment.