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
Access Vector Network Network
Access 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
openSUSE Tumbleweed
  • python310-Django >= 4.0.2-1.1
  • python38-Django >= 4.0.2-1.1
  • python39-Django >= 4.0.2-1.1
Patchnames:
openSUSE Tumbleweed GA python310-Django-4.0.2-1.1


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.

Product(s) Source package State
HPE Helion OpenStack 8 python-Django Released
SUSE OpenStack Cloud 8 python-Django Released
SUSE OpenStack Cloud 9 python-Django1 Released
SUSE OpenStack Cloud Crowbar 8 python-Django Released
SUSE OpenStack Cloud Crowbar 9 python-Django1 Released