Advisory

UBUNTU-CVE-2024-53908

Also known as: CVE-2024-53908

Summary

The record has no summary.

Details

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-12-04 15:00 UTC
Modified
2026-02-04 04:25 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3:4.2.11-1ubuntu1.4 (ecosystem)

Fixed versions

3:4.2.11-1ubuntu1.4

Fix

  • Fixed version 3:4.2.11-1ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences