Advisory

UBUNTU-CVE-2017-7233

Also known as: CVE-2017-7233

Summary

The record has no summary.

Details

Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely django.utils.http.is_safe_url()) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2017-04-04 14:00 UTC
Modified
2026-02-04 04:20 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.6.11-0ubuntu1.1 (ecosystem)

Fixed versions

1.6.11-0ubuntu1.1

Fix

  • Fixed version 1.6.11-0ubuntu1.1
    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.

python-django

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1.8.7-1ubuntu5.5 (ecosystem)

Fixed versions

1.8.7-1ubuntu5.5

Fix

  • Fixed version 1.8.7-1ubuntu5.5
    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