SQL injection in py-django (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-14234
CWE-ID CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
py-django (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) SQL injection

EUVDB-ID: #VU19619

Risk: High

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

CVE-ID: CVE-2019-14234

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

py-django (Alpine package): 1.7-r0 - 1.11.22-r0

py-django (Alpine package):

CPE2.3 External links

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


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###