CVE-2019-13177
Improper Verification of Cryptographic Signature in django-rest-registration
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
verification.py in django-rest-registration (aka Django REST Registration library) before 0.5.0 relies on a static string for signatures (i.e., the Django Signing API is misused), which allows remote attackers to spoof the verification process. This occurs because incorrect code refactoring led to calling a security-critical function with an incorrect argument.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | django-rest-registration | 0.5.0 |
References
- https://github.com/advisories/GHSA-p3w6-jcg4-52xh
- https://github.com/apragacz/django-rest-registration
- https://github.com/apragacz/django-rest-registration/commit/26d094fab65ea8c2694fdfb6a3ab95a7808b62d5
- https://github.com/apragacz/django-rest-registration/releases/tag/0.5.0
- https://github.com/apragacz/django-rest-registration/security/advisories/GHSA-p3w6-jcg4-52xh
- https://github.com/pypa/advisory-database/tree/main/vulns/django-rest-registration/PYSEC-2019-20.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2019-13177