Improper Validation Affecting django-cors-headers package, versions [,3.0.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGOCORSHEADERS-564347
  • published1 Apr 2020
  • disclosed10 May 2019
  • creditUnknown

Introduced: 10 May 2019

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

How to fix?

Upgrade django-cors-headers to version 3.0.0 or higher.

Overview

django-cors-headers is a Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS)

Affected versions of this package are vulnerable to Improper Validation. CORS middleware allows requests between schemes provided by a CORS_ORIGIN_WHITELIST , and it is possible to allow insecure schemas such as http. This is remediated in the fixed version.

References

CVSS Base Scores

version 3.1