{"id":"ALPINE-CVE-2019-18348","details":"An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \\r\\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.","modified":"2026-03-09T01:14:32.516207Z","published":"2019-10-23T17:15:12.973Z","upstream":["CVE-2019-18348"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-18348"}],"affected":[{"package":{"name":"python2","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/python2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-r0"}]}],"versions":["2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.2-r0","2.6.2-r1","2.6.3-r0","2.6.4-r0","2.6.5-r0","2.6.5-r1","2.6.5-r2","2.6.5-r3","2.6.5-r4","2.6.5-r5","2.6.5-r6","2.6.5-r7","2.6.5-r8","2.7.10-r0","2.7.10-r1","2.7.10-r2","2.7.10-r3","2.7.11-r0","2.7.11-r1","2.7.11-r2","2.7.11-r3","2.7.11-r4","2.7.11-r5","2.7.12-r0","2.7.12-r1","2.7.12-r2","2.7.12-r3","2.7.12-r4","2.7.12-r5","2.7.12-r6","2.7.12-r7","2.7.13-r0","2.7.13-r1","2.7.13-r2","2.7.14-r0","2.7.14-r1","2.7.14-r2","2.7.14-r3","2.7.14-r4","2.7.15-r0","2.7.15-r1","2.7.15-r2","2.7.15-r3","2.7.15-r4","2.7.16-r0","2.7.16-r1","2.7.16-r2","2.7.2-r0","2.7.2-r2","2.7.2-r3","2.7.3-r3","2.7.3-r4","2.7.3-r5","2.7.5-r0","2.7.5-r1","2.7.5-r2","2.7.5-r3","2.7.6-r0","2.7.6-r1","2.7.6-r2","2.7.6-r3","2.7.6-r4","2.7.7-r0","2.7.8-r0","2.7.9-r0","2.7.9-r1","2.7.9-r2","2.7.9-r3","2.7.9-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-18348.json"}},{"package":{"name":"python2","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/python2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-r0"}]}],"versions":["2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.2-r0","2.6.2-r1","2.6.3-r0","2.6.4-r0","2.6.5-r0","2.6.5-r1","2.6.5-r2","2.6.5-r3","2.6.5-r4","2.6.5-r5","2.6.5-r6","2.6.5-r7","2.6.5-r8","2.7.10-r0","2.7.10-r1","2.7.10-r2","2.7.10-r3","2.7.11-r0","2.7.11-r1","2.7.11-r2","2.7.11-r3","2.7.11-r4","2.7.11-r5","2.7.12-r0","2.7.12-r1","2.7.12-r2","2.7.12-r3","2.7.12-r4","2.7.12-r5","2.7.12-r6","2.7.12-r7","2.7.13-r0","2.7.13-r1","2.7.13-r2","2.7.14-r0","2.7.14-r1","2.7.14-r2","2.7.14-r3","2.7.14-r4","2.7.15-r0","2.7.15-r1","2.7.15-r2","2.7.15-r3","2.7.15-r4","2.7.16-r0","2.7.16-r1","2.7.16-r2","2.7.16-r3","2.7.2-r0","2.7.2-r2","2.7.2-r3","2.7.3-r3","2.7.3-r4","2.7.3-r5","2.7.5-r0","2.7.5-r1","2.7.5-r2","2.7.5-r3","2.7.6-r0","2.7.6-r1","2.7.6-r2","2.7.6-r3","2.7.6-r4","2.7.7-r0","2.7.8-r0","2.7.9-r0","2.7.9-r1","2.7.9-r2","2.7.9-r3","2.7.9-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-18348.json"}},{"package":{"name":"python2","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/python2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-r0"}]}],"versions":["2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.2-r0","2.6.2-r1","2.6.3-r0","2.6.4-r0","2.6.5-r0","2.6.5-r1","2.6.5-r2","2.6.5-r3","2.6.5-r4","2.6.5-r5","2.6.5-r6","2.6.5-r7","2.6.5-r8","2.7.10-r0","2.7.10-r1","2.7.10-r2","2.7.10-r3","2.7.11-r0","2.7.11-r1","2.7.11-r2","2.7.11-r3","2.7.11-r4","2.7.11-r5","2.7.12-r0","2.7.12-r1","2.7.12-r2","2.7.12-r3","2.7.12-r4","2.7.12-r5","2.7.12-r6","2.7.12-r7","2.7.13-r0","2.7.13-r1","2.7.13-r2","2.7.14-r0","2.7.14-r1","2.7.14-r2","2.7.14-r3","2.7.14-r4","2.7.15-r0","2.7.15-r1","2.7.15-r2","2.7.15-r3","2.7.15-r4","2.7.16-r0","2.7.16-r1","2.7.16-r2","2.7.16-r3","2.7.17-r0","2.7.17-r1","2.7.17-r2","2.7.17-r3","2.7.17-r4","2.7.2-r0","2.7.2-r2","2.7.2-r3","2.7.3-r3","2.7.3-r4","2.7.3-r5","2.7.5-r0","2.7.5-r1","2.7.5-r2","2.7.5-r3","2.7.6-r0","2.7.6-r1","2.7.6-r2","2.7.6-r3","2.7.6-r4","2.7.7-r0","2.7.8-r0","2.7.9-r0","2.7.9-r1","2.7.9-r2","2.7.9-r3","2.7.9-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-18348.json"}},{"package":{"name":"python2","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/python2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-r0"}]}],"versions":["2.6.1-r0","2.6.1-r1","2.6.1-r2","2.6.2-r0","2.6.2-r1","2.6.3-r0","2.6.4-r0","2.6.5-r0","2.6.5-r1","2.6.5-r2","2.6.5-r3","2.6.5-r4","2.6.5-r5","2.6.5-r6","2.6.5-r7","2.6.5-r8","2.7.10-r0","2.7.10-r1","2.7.10-r2","2.7.10-r3","2.7.11-r0","2.7.11-r1","2.7.11-r2","2.7.11-r3","2.7.11-r4","2.7.11-r5","2.7.12-r0","2.7.12-r1","2.7.12-r2","2.7.12-r3","2.7.12-r4","2.7.12-r5","2.7.12-r6","2.7.12-r7","2.7.13-r0","2.7.13-r1","2.7.13-r2","2.7.14-r0","2.7.14-r1","2.7.14-r2","2.7.14-r3","2.7.14-r4","2.7.15-r0","2.7.15-r1","2.7.15-r2","2.7.15-r3","2.7.16-r0","2.7.16-r1","2.7.16-r2","2.7.2-r0","2.7.2-r2","2.7.2-r3","2.7.3-r3","2.7.3-r4","2.7.3-r5","2.7.5-r0","2.7.5-r1","2.7.5-r2","2.7.5-r3","2.7.6-r0","2.7.6-r1","2.7.6-r2","2.7.6-r3","2.7.6-r4","2.7.7-r0","2.7.8-r0","2.7.9-r0","2.7.9-r1","2.7.9-r2","2.7.9-r3","2.7.9-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2019-18348.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}