VDB

GHSA-p64x-8rxx-wf6q

GHSA-p64x-8rxx-wf6q PUBLISHED CVSS 9.800000190734863 CRITICAL

Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection

Record from GitHub Advisory Database · Published July 5, 2022

Django is fixed in 4.0.6 and 3.2.14 (PyPI)

Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPI4.0.6, 3.2.14

Risk scores

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

Affected products

VendorProductVersions
PyPIDjango3.2a1, 4.0a1
PyPIDjango
PyPIdjango3.2.10, 3.2.11, 3.2.12

Timeline

  • Jul 5, 2022 CVE Published
  • Mar 2, 2026 Distribution Patch
  • Mar 2, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-p64x-8rxx-wf6q
vulnetix vdb fixes GHSA-p64x-8rxx-wf6q

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-p64x-8rxx-wf6q/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›