There have been found potentially exploitable flaws in Golang net/http library affecting versions 1.4.2 and 1.5. Problems: * Double Content-length headers in a request does not generate a 400 error, the second Content-length is ignored. * Invalid headers are parsed as valid headers (like "Content Length:" with a space in the middle) Exploitations: In a situation where the net/http agent HTTP communication with the final http clients is using some reverse proxy (reverse proxy cache, SSL terminators, etc), some requests can be made exploiting the net/http HTTP protocol violations. Attacker could possibly: * bypass security controls on theses previous elements * perform some cache poisoning on these elements * alter the request/response map on these previous elements (for DOS) CVE request: http://seclists.org/oss-sec/2015/q3/237 Upstream patches: https://github.com/golang/go/commit/117ddcb83d7f42d6aa72241240af99ded81118e9 https://github.com/golang/go/commit/300d9a21583e7cf0149a778a0611e76ff7c6680f https://github.com/golang/go/commit/143822585e32449860e624cace9d2e521deee62e
Created golang tracking bugs for this issue: Affects: fedora-all [bug 1250353]
Created golang tracking bugs for this issue: Affects: epel-6 [bug 1250374]
is https://github.com/golang/go/commit/26049f6f9171d1190f3bbe05ec304845cfe6399f also to be included?
(In reply to Adam Mariš from comment #0) > Upstream patches: > https://github.com/golang/go/commit/117ddcb83d7f42d6aa72241240af99ded81118e9 CVE-2015-5739 > https://github.com/golang/go/commit/300d9a21583e7cf0149a778a0611e76ff7c6680f CVE-2015-5740 > https://github.com/golang/go/commit/143822585e32449860e624cace9d2e521deee62e CVE-2015-5741 Assignment details at: http://seclists.org/oss-sec/2015/q3/294
(In reply to Vincent Batts from comment #3) > is > https://github.com/golang/go/commit/26049f6f9171d1190f3bbe05ec304845cfe6399f > also to be included? I requested one in http://seclists.org/oss-sec/2015/q3/299
(In reply to Martin Prpic from comment #5) > (In reply to Vincent Batts from comment #3) > > is > > https://github.com/golang/go/commit/26049f6f9171d1190f3bbe05ec304845cfe6399f > > also to be included? > > I requested one in http://seclists.org/oss-sec/2015/q3/299 Thanks. This commit does not apply directly for go1.4.2 presently. I'm investigating that.
golang-1.4.2-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
golang-1.4.2-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
golang-1.5.1-0.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
golang-1.5.1-0.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
golang-1.5.1-0.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.