Advisory

GHSA-337x-4q8g-prc5

Also known as: CVE-2019-3498, PYSEC-2019-17

Summary

Improper Input Validation in Django

Details

In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used by a Downstream Component issue exists in django.views.defaults.page_not_found(), leading to content spoofing (in a 404 error page) if a user fails to recognize that a crafted URL has malicious content.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-01-14 16:20 UTC
Modified
2024-11-19 05:23 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.11a1, fixed 1.11.18 (ecosystem)

Fixed versions

1.11.18

Fix

  • Fixed version 1.11.18
    pip install --upgrade django==1.11.18

django

PyPI · All systems

Affected

  • introduced 2.0a1, fixed 2.0.10 (ecosystem)

Fixed versions

2.0.10

Fix

  • Fixed version 2.0.10
    pip install --upgrade django==2.0.10

django

PyPI · All systems

Affected

  • introduced 2.1a1, fixed 2.1.5 (ecosystem)

Fixed versions

2.1.5

Fix

  • Fixed version 2.1.5
    pip install --upgrade django==2.1.5

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences