Input validation error in django-cors-headers app for Django



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
django-cors-headers
Server applications / Other server solutions

Vendor Adam Johnson

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU26645

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: N/A

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to allow insecure schemas.

The vulnerability exists due to improper validation when middleware allows requests between schemes provided by a "CORS_ORIGIN_WHITELIST". A remote attacker can allow insecure schemas such as http.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

django-cors-headers: 0.01 - 2.5.3

CPE2.3 External links

https://snyk.io/vuln/SNYK-PYTHON-DJANGOCORSHEADERS-564347


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###