SB2019080532 - SQL injection in py-django (Alpine package)
Published: August 5, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) SQL injection (CVE-ID: CVE-2019-14234)
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in django.contrib.postgres.fields.JSONField and django.contrib.postgres.fields.HStoreField. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=a647ee3a77fb6aee5cd7f25d13c0521e5a7b9246
- https://git.alpinelinux.org/aports/commit/?id=c7fc6af25f0b0cda600ac132b709aa32810a32aa
- https://git.alpinelinux.org/aports/commit/?id=c9242d57e288ae0de776187324f3d0125de602fc
- https://git.alpinelinux.org/aports/commit/?id=f23de6bf75a5fed240444ddc45e8609574c70306
- https://git.alpinelinux.org/aports/commit/?id=5f752ea195f3f8ce66003ac1240b432c30de48ff