PyPi: Invenio-App

CVE-2019-1020006

Safety vulnerability ID: 37311

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jul 29, 2019 Updated at Dec 10, 2024
Scan your Python projects for vulnerabilities →

Advisory

Invenio-app 1.1.1 fixes a security issue where APP_ALLOWED_HOSTS was not always being checked, and thus could allow host header injection attacks.

Affected package

invenio-app

Latest version: 2.0.0

WSGI, Celery and CLI applications for Invenio flavours.

Affected versions

Fixed versions

Vulnerability changelog

- Fixes a security issue where APP_ALLOWED_HOSTS was not always being checked,
and thus could allow host header injection attacks.

NOTE: you should never route requests to your application with a wrong host
header. The APP_ALLOWED_HOSTS exists as an extra protective measure, because
it is easy to misconfigure your web server.

The root cause was that Werkzeug's trusted host feature only works when
request.host is being evaluated. This means that for instance when only
url_for (part of the routing system) is used, then the host header check is
not performed.

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.1

CVSS v3 Details

MEDIUM 6.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.8
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE