A flaw was found in curl before version 7.51. If cookie state is written into a cookie jar file that is later read back and used for subsequent requests, a malicious HTTP server can inject new cookies for arbitrary domains into said cookie jar.
https://www.tenable.com/security/tns-2016-21
https://security.gentoo.org/glsa/201701-47
https://curl.haxx.se/docs/adv_20161102A.html
https://curl.haxx.se/CVE-2016-8615.patch
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8615
https://access.redhat.com/errata/RHSA-2018:3558
https://access.redhat.com/errata/RHSA-2018:2486
http://www.securitytracker.com/id/1037192
http://www.securityfocus.com/bid/94096
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html