---
title: "CVE-2022-28347\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-28347?format=md
keywords: index, follow
---

# CVE-2022-28347

Publication date 11 April 2022

Last updated 25 August 2025

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2022-28347?format=md#impact-score)

Toggle side navigation

## Description

A SQL injection issue was discovered in QuerySet.explain() in Django 2.2
before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by
passing a crafted dictionary (with dictionary expansion) as the \*\*options
argument, and placing the injection payload in an option name.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 22.04 LTS jammy | Fixed 3.2.12-2ubuntu1 |
| 21.10 impish | Fixed 2:2.2.24-1ubuntu1.4 |
| 20.04 LTS focal | Fixed 2:2.2.12-1ubuntu0.11 |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28347)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-28347)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-28347)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-28347)

### Related Ubuntu Security Notices (USN)

+ [USN-5373-1](https://usn.ubuntu.com/USN-5373-1)
+ Django vulnerabilities
+ 11 April 2022

### Other references

* <https://www.djangoproject.com/weblog/2022/apr/11/security-releases/>
* <https://www.cve.org/CVERecord?id=CVE-2022-28347>
