Upstream information

CVE-2022-22818 at MITRE

Description

The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.1 5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack Vector Network Network
Attack Complexity Low High
Privileges Required None None
User Interaction Required Required
Scope Changed Unchanged
Confidentiality Impact Low Low
Integrity Impact Low Low
Availability Impact None Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1195086 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion OpenStack 8
  • python-Django >= 1.11.29-3.39.1
  • venv-openstack-aodh-x86_64 >= 5.1.1~dev7-12.37.1
  • venv-openstack-barbican-x86_64 >= 5.0.2~dev3-12.38.1
  • venv-openstack-ceilometer-x86_64 >= 9.0.8~dev7-12.35.1
  • venv-openstack-cinder-x86_64 >= 11.2.3~dev29-14.39.1
  • venv-openstack-designate-x86_64 >= 5.0.3~dev7-12.36.1
  • venv-openstack-freezer-x86_64 >= 5.0.0.0~xrc2~dev2-10.33.1
  • venv-openstack-glance-x86_64 >= 15.0.3~dev3-12.36.1
  • venv-openstack-heat-x86_64 >= 9.0.8~dev22-12.40.1
  • venv-openstack-horizon-hpe-x86_64 >= 12.0.5~dev6-14.43.2
  • venv-openstack-ironic-x86_64 >= 9.1.8~dev8-12.38.1
  • venv-openstack-keystone-x86_64 >= 12.0.4~dev11-11.40.1
  • venv-openstack-magnum-x86_64 >= 5.0.2_5.0.2_5.0.2~dev31-11.37.1
  • venv-openstack-manila-x86_64 >= 5.1.1~dev5-12.42.1
  • venv-openstack-monasca-ceilometer-x86_64 >= 1.5.1_1.5.1_1.5.1~dev3-8.33.1
  • venv-openstack-monasca-x86_64 >= 2.2.2~dev1-11.40.1
  • venv-openstack-murano-x86_64 >= 4.0.2~dev2-12.33.1
  • venv-openstack-neutron-x86_64 >= 11.0.9~dev69-13.43.1
  • venv-openstack-nova-x86_64 >= 16.1.9~dev92-11.41.1
  • venv-openstack-octavia-x86_64 >= 1.0.6~dev3-12.38.1
  • venv-openstack-sahara-x86_64 >= 7.0.5~dev4-11.37.1
  • venv-openstack-swift-x86_64 >= 2.15.2_2.15.2_2.15.2~dev32-11.28.1
  • venv-openstack-trove-x86_64 >= 8.0.2~dev2-11.37.1
Patchnames:
HPE-Helion-OpenStack-8-2022-286
SUSE OpenStack Cloud 8
  • python-Django >= 1.11.29-3.39.1
  • venv-openstack-aodh-x86_64 >= 5.1.1~dev7-12.37.1
  • venv-openstack-barbican-x86_64 >= 5.0.2~dev3-12.38.1
  • venv-openstack-ceilometer-x86_64 >= 9.0.8~dev7-12.35.1
  • venv-openstack-cinder-x86_64 >= 11.2.3~dev29-14.39.1
  • venv-openstack-designate-x86_64 >= 5.0.3~dev7-12.36.1
  • venv-openstack-freezer-x86_64 >= 5.0.0.0~xrc2~dev2-10.33.1
  • venv-openstack-glance-x86_64 >= 15.0.3~dev3-12.36.1
  • venv-openstack-heat-x86_64 >= 9.0.8~dev22-12.40.1
  • venv-openstack-horizon-x86_64 >= 12.0.5~dev6-14.43.2
  • venv-openstack-ironic-x86_64 >= 9.1.8~dev8-12.38.1
  • venv-openstack-keystone-x86_64 >= 12.0.4~dev11-11.40.1
  • venv-openstack-magnum-x86_64 >= 5.0.2_5.0.2_5.0.2~dev31-11.37.1
  • venv-openstack-manila-x86_64 >= 5.1.1~dev5-12.42.1
  • venv-openstack-monasca-ceilometer-x86_64 >= 1.5.1_1.5.1_1.5.1~dev3-8.33.1
  • venv-openstack-monasca-x86_64 >= 2.2.2~dev1-11.40.1
  • venv-openstack-murano-x86_64 >= 4.0.2~dev2-12.33.1
  • venv-openstack-neutron-x86_64 >= 11.0.9~dev69-13.43.1
  • venv-openstack-nova-x86_64 >= 16.1.9~dev92-11.41.1
  • venv-openstack-octavia-x86_64 >= 1.0.6~dev3-12.38.1
  • venv-openstack-sahara-x86_64 >= 7.0.5~dev4-11.37.1
  • venv-openstack-swift-x86_64 >= 2.15.2_2.15.2_2.15.2~dev32-11.28.1
  • venv-openstack-trove-x86_64 >= 8.0.2~dev2-11.37.1
Patchnames:
SUSE-OpenStack-Cloud-8-2022-286
SUSE OpenStack Cloud 9
  • python-Django1 >= 1.11.29-3.37.1
  • venv-openstack-barbican-x86_64 >= 7.0.1~dev24-3.30.1
  • venv-openstack-cinder-x86_64 >= 13.0.10~dev23-3.33.1
  • venv-openstack-designate-x86_64 >= 7.0.2~dev2-3.30.1
  • venv-openstack-glance-x86_64 >= 17.0.1~dev30-3.28.1
  • venv-openstack-heat-x86_64 >= 11.0.4~dev4-3.30.1
  • venv-openstack-horizon-x86_64 >= 14.1.1~dev11-4.34.2
  • venv-openstack-ironic-x86_64 >= 11.1.5~dev17-4.28.1
  • venv-openstack-keystone-x86_64 >= 14.2.1~dev7-3.31.1
  • venv-openstack-magnum-x86_64 >= 7.2.1~dev1-4.30.1
  • venv-openstack-manila-x86_64 >= 7.4.2~dev60-3.36.1
  • venv-openstack-monasca-ceilometer-x86_64 >= 1.8.2~dev3-3.30.1
  • venv-openstack-monasca-x86_64 >= 2.7.1~dev10-3.32.1
  • venv-openstack-neutron-x86_64 >= 13.0.8~dev164-6.34.1
  • venv-openstack-nova-x86_64 >= 18.3.1~dev91-3.34.1
  • venv-openstack-octavia-x86_64 >= 3.2.3~dev7-4.30.1
  • venv-openstack-sahara-x86_64 >= 9.0.2~dev15-3.30.1
  • venv-openstack-swift-x86_64 >= 2.19.2~dev48-2.25.1
Patchnames:
SUSE-OpenStack-Cloud-9-2022-285
SUSE OpenStack Cloud Crowbar 8
  • python-Django >= 1.11.29-3.39.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2022-286
SUSE OpenStack Cloud Crowbar 9
  • python-Django1 >= 1.11.29-3.37.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2022-285
SUSE Package Hub 15 SP3
  • python3-Django >= 2.2.28-bp153.2.3.1
Patchnames:
openSUSE-2023-5
openSUSE Leap 15.3
  • python3-Django >= 2.2.28-bp153.2.3.1
Patchnames:
openSUSE-2023-5
openSUSE Tumbleweed
  • python310-Django >= 4.0.2-1.1
  • python310-Django4 >= 4.2.14-1.1
  • python311-Django4 >= 4.2.14-1.1
  • python312-Django4 >= 4.2.14-1.1
  • python38-Django >= 4.0.2-1.1
  • python39-Django >= 4.0.2-1.1
Patchnames:
openSUSE-Tumbleweed-2024-11804
openSUSE-Tumbleweed-2024-14208


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-Django Already fixed
openSUSE Leap 15.6 python-Django Already fixed
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 python-Django Released
HPE Helion OpenStack 8 venv-openstack-aodh Released
HPE Helion OpenStack 8 venv-openstack-barbican Released
HPE Helion OpenStack 8 venv-openstack-ceilometer Released
HPE Helion OpenStack 8 venv-openstack-cinder Released
HPE Helion OpenStack 8 venv-openstack-designate Released
HPE Helion OpenStack 8 venv-openstack-freezer Released
HPE Helion OpenStack 8 venv-openstack-glance Released
HPE Helion OpenStack 8 venv-openstack-heat Released
HPE Helion OpenStack 8 venv-openstack-horizon-hpe Released
HPE Helion OpenStack 8 venv-openstack-ironic Released
HPE Helion OpenStack 8 venv-openstack-keystone Released
HPE Helion OpenStack 8 venv-openstack-magnum Released
HPE Helion OpenStack 8 venv-openstack-manila Released
HPE Helion OpenStack 8 venv-openstack-monasca Released
HPE Helion OpenStack 8 venv-openstack-monasca-ceilometer Released
HPE Helion OpenStack 8 venv-openstack-murano Released
HPE Helion OpenStack 8 venv-openstack-neutron Released
HPE Helion OpenStack 8 venv-openstack-nova Released
HPE Helion OpenStack 8 venv-openstack-octavia Released
HPE Helion OpenStack 8 venv-openstack-sahara Released
HPE Helion OpenStack 8 venv-openstack-swift Released
HPE Helion OpenStack 8 venv-openstack-trove Released
SUSE OpenStack Cloud 8 python-Django Released
SUSE OpenStack Cloud 8 venv-openstack-aodh Released
SUSE OpenStack Cloud 8 venv-openstack-barbican Released
SUSE OpenStack Cloud 8 venv-openstack-ceilometer Released
SUSE OpenStack Cloud 8 venv-openstack-cinder Released
SUSE OpenStack Cloud 8 venv-openstack-designate Released
SUSE OpenStack Cloud 8 venv-openstack-freezer Released
SUSE OpenStack Cloud 8 venv-openstack-glance Released
SUSE OpenStack Cloud 8 venv-openstack-heat Released
SUSE OpenStack Cloud 8 venv-openstack-horizon Released
SUSE OpenStack Cloud 8 venv-openstack-ironic Released
SUSE OpenStack Cloud 8 venv-openstack-keystone Released
SUSE OpenStack Cloud 8 venv-openstack-magnum Released
SUSE OpenStack Cloud 8 venv-openstack-manila Released
SUSE OpenStack Cloud 8 venv-openstack-monasca Released
SUSE OpenStack Cloud 8 venv-openstack-monasca-ceilometer Released
SUSE OpenStack Cloud 8 venv-openstack-murano Released
SUSE OpenStack Cloud 8 venv-openstack-neutron Released
SUSE OpenStack Cloud 8 venv-openstack-nova Released
SUSE OpenStack Cloud 8 venv-openstack-octavia Released
SUSE OpenStack Cloud 8 venv-openstack-sahara Released
SUSE OpenStack Cloud 8 venv-openstack-swift Released
SUSE OpenStack Cloud 8 venv-openstack-trove Released
SUSE OpenStack Cloud 9 python-Django1 Released
SUSE OpenStack Cloud 9 venv-openstack-barbican Released
SUSE OpenStack Cloud 9 venv-openstack-cinder Released
SUSE OpenStack Cloud 9 venv-openstack-designate Released
SUSE OpenStack Cloud 9 venv-openstack-glance Released
SUSE OpenStack Cloud 9 venv-openstack-heat Released
SUSE OpenStack Cloud 9 venv-openstack-horizon Released
SUSE OpenStack Cloud 9 venv-openstack-ironic Released
SUSE OpenStack Cloud 9 venv-openstack-keystone Released
SUSE OpenStack Cloud 9 venv-openstack-magnum Released
SUSE OpenStack Cloud 9 venv-openstack-manila Released
SUSE OpenStack Cloud 9 venv-openstack-monasca Released
SUSE OpenStack Cloud 9 venv-openstack-monasca-ceilometer Released
SUSE OpenStack Cloud 9 venv-openstack-neutron Released
SUSE OpenStack Cloud 9 venv-openstack-nova Released
SUSE OpenStack Cloud 9 venv-openstack-octavia Released
SUSE OpenStack Cloud 9 venv-openstack-sahara Released
SUSE OpenStack Cloud 9 venv-openstack-swift Released
SUSE OpenStack Cloud Crowbar 8 python-Django Released
SUSE OpenStack Cloud Crowbar 9 python-Django1 Released
SUSE Package Hub 15 SP3 python-Django Released


SUSE Timeline for this CVE

CVE page created: Tue Jan 25 10:30:23 2022
CVE page last modified: Tue Sep 3 19:25:03 2024