{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for python-django-grappelli","title":"Title of the patch"},{"category":"description","text":"This update for python-django-grappelli fixes the following issues:\n\nUpdate to 2.14.4:\n\n- CVE-2021-46898: Fixed views/switch.py vulnerable to protocol-relative URL attacks (boo#1216481)\n- Fixed: Redirect with switch user.\n- Improved: Remove extra filtering in AutocompleteLookup.\n- Improved: Added import statement with URLs for quickstart docs.\n- Improved: Added additional blocks with inlines to allow override.\n- Fixed: Compatibility with Django 3.1.\n- Fixed: Docs about adding Grappelli documentation URLS.\n","title":"Description of the patch"},{"category":"details","text":"openSUSE-2023-384","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2023_0384-1.json"},{"category":"self","summary":"URL for openSUSE-SU-2023:0384-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FVC472DTXM3I3SVFJZ3UKZVVBMB6XYMZ/"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2023:0384-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FVC472DTXM3I3SVFJZ3UKZVVBMB6XYMZ/"},{"category":"self","summary":"SUSE Bug 1216481","url":"https://bugzilla.suse.com/1216481"},{"category":"self","summary":"SUSE CVE CVE-2021-46898 page","url":"https://www.suse.com/security/cve/CVE-2021-46898/"}],"title":"Security update for python-django-grappelli","tracking":{"current_release_date":"2023-11-30T10:47:42Z","generator":{"date":"2023-11-30T10:47:42Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2023:0384-1","initial_release_date":"2023-11-30T10:47:42Z","revision_history":[{"date":"2023-11-30T10:47:42Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","product":{"name":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","product_id":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"}}],"category":"architecture","name":"noarch"},{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP4","product":{"name":"SUSE Package Hub 15 SP4","product_id":"SUSE Package Hub 15 SP4"}},{"category":"product_name","name":"openSUSE Leap 15.4","product":{"name":"openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.4"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch as component of SUSE Package Hub 15 SP4","product_id":"SUSE Package Hub 15 SP4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"},"product_reference":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","relates_to_product_reference":"SUSE Package Hub 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch as component of openSUSE Leap 15.4","product_id":"openSUSE Leap 15.4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"},"product_reference":"python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","relates_to_product_reference":"openSUSE Leap 15.4"}]},"vulnerabilities":[{"cve":"CVE-2021-46898","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-46898"}],"notes":[{"category":"general","text":"views/switch.py in django-grappelli (aka Django Grappelli) before 2.15.2 attempts to prevent external redirection with startswith(\"/\") but this does not consider a protocol-relative URL (e.g., //example.com) attack.","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","openSUSE Leap 15.4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"]},"references":[{"category":"external","summary":"CVE-2021-46898","url":"https://www.suse.com/security/cve/CVE-2021-46898"},{"category":"external","summary":"SUSE Bug 1216481 for CVE-2021-46898","url":"https://bugzilla.suse.com/1216481"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","openSUSE Leap 15.4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"]}],"scores":[{"cvss_v3":{"baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"products":["SUSE Package Hub 15 SP4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch","openSUSE Leap 15.4:python3-django-grappelli-2.14.4-bp154.2.3.1.noarch"]}],"threats":[{"category":"impact","date":"2023-11-30T10:47:42Z","details":"moderate"}],"title":"CVE-2021-46898"}]}