[Security] Various security fixes. Fixes JB#46726
Fixes CVE-2019-9169 CVE-2019-7309 CVE-2016-10739 CVE-2018-19591
Fixes CVE-2019-9169 CVE-2019-7309 CVE-2016-10739 CVE-2018-19591
This will create a new commit in order to revert the existing changes.