Arch Linux 811 Published by

The following security updates has been released for Arch Linux:

ASA-201808-1: python-django: open redirect
ASA-201808-2: cgit: directory traversal
ASA-201808-3: python2-django: open redirect



ASA-201808-1: python-django: open redirect

Arch Linux Security Advisory ASA-201808-1
=========================================

Severity: Medium
Date : 2018-08-01
CVE-ID : CVE-2018-14574
Package : python-django
Type : open redirect
Remote : Yes
Link : https://security.archlinux.org/AVG-743

Summary
=======

The package python-django before version 2.0.8-1 is vulnerable to open
redirect.

Resolution
==========

Upgrade to 2.0.8-1.

# pacman -Syu "python-django>=2.0.8-1"

The problem has been fixed upstream in version 2.0.8.

Workaround
==========

Disable the APPEND_SLASH setting.

Description
===========

If the django.middleware.common.CommonMiddleware and the APPEND_SLASH
setting are both enabled, and if the project has a URL pattern that
accepts any path ending in a slash (many content management systems
have such a pattern), then a request to a maliciously crafted URL of
that site could lead to a redirect to another site, enabling phishing
and other attacks.

Impact
======

A remote attacker is able to redirect a user to an attacker-controlled
website.

References
==========

https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
https://github.com/django/django/commit/6fffc3c6d420e44f4029d5643f38d00a39b08525
https://security.archlinux.org/CVE-2018-14574


ASA-201808-2: cgit: directory traversal

Arch Linux Security Advisory ASA-201808-2
=========================================

Severity: High
Date : 2018-08-03
CVE-ID : CVE-2018-14912
Package : cgit
Type : directory traversal
Remote : Yes
Link : https://security.archlinux.org/AVG-745

Summary
=======

The package cgit before version 1.2.1-1 is vulnerable to directory
traversal.

Resolution
==========

Upgrade to 1.2.1-1.

# pacman -Syu "cgit>=1.2.1-1"

The problem has been fixed upstream in version 1.2.1.

Workaround
==========

Turn off enable-http-clone=1

Description
===========

cgit_clone_objects in CGit before 1.2.1 has a directory traversal
vulnerability when `enable-http-clone=1` is not turned off, as
demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Impact
======

A remote attacker is able to read arbitrary files from the cgit server.

References
==========

https://bugs.chromium.org/p/project-zero/issues/detail?id=1627
https://lists.zx2c4.com/pipermail/cgit/2018-August/004176.html
https://git.zx2c4.com/cgit/commit/?id=53efaf30b50f095cad8c160488c74bba3e3b2680
https://security.archlinux.org/CVE-2018-14912


ASA-201808-3: python2-django: open redirect

Arch Linux Security Advisory ASA-201808-3
=========================================

Severity: Medium
Date : 2018-08-03
CVE-ID : CVE-2018-14574
Package : python2-django
Type : open redirect
Remote : Yes
Link : https://security.archlinux.org/AVG-746

Summary
=======

The package python2-django before version 1.11.15-1 is vulnerable to
open redirect.

Resolution
==========

Upgrade to 1.11.15-1.

# pacman -Syu "python2-django>=1.11.15-1"

The problem has been fixed upstream in version 1.11.15.

Workaround
==========

Disable the APPEND_SLASH setting.

Description
===========

If the django.middleware.common.CommonMiddleware and the APPEND_SLASH
setting are both enabled, and if the project has a URL pattern that
accepts any path ending in a slash (many content management systems
have such a pattern), then a request to a maliciously crafted URL of
that site could lead to a redirect to another site, enabling phishing
and other attacks.

Impact
======

A remote attacker is able to redirect a user to an attacker-controlled
website.

References
==========

https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
https://github.com/django/django/commit/6fffc3c6d420e44f4029d5643f38d00a39b08525
https://security.archlinux.org/CVE-2018-14574