Ubuntu packages affected by CVE-2020-24553
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
golang-1.10 (Ubuntu) | ||||||
Xenial |
Fix Released
|
High
|
Dariusz Gadomski | |||
Bionic |
Fix Released
|
High
|
Dariusz Gadomski | |||
golang-1.14 (Ubuntu) |
Fix Released
|
Low
|
Dariusz Gadomski | |||
Focal |
Fix Released
|
High
|
Dariusz Gadomski | |||
Groovy |
Fix Released
|
High
|
Dariusz Gadomski | |||
Hirsute |
Fix Released
|
Low
|
Dariusz Gadomski | |||
golang-1.15 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
Go before 1.14.8 and 1.15.x before 1.15.1 allows XSS because text/html is the default for CGI/FCGI handlers that lack a Content-Type header.
[Test Case]
Described as POC at https:/
1. Use the snippet of CGI go code provided and run it: go run poc.go
2. Run nginx with the config provided to forward the FastCGI calls to the go program.
3. curl -i -o - http://
4. Observe the output.
In an affected golang build the output will say:
Content-Type: text/html (...)
while in the fixed version it should recognize the content type correctly as:
Content-Type: image/png
[Where problems could occur]
* It may affect deployments where go apps are used as CGI scripts - if the setup was incorrectly relying on hard-coded content type it may require fixing it.
[Other Info]
* It has been specifically backported upstream in release 1.14 series (Starting w/ 1.14.8) as follows:
https:/
$ git tag --contains 8fcee8abbe
go1.14.10
go1.14.11
go1.14.12
go1.14.13
go1.14.14
go1.14.15
go1.14.8
go1.14.9
* The fix is present in golang-1.15 for hirsute and groovy.
CVE References
no longer affects: | golang-1.10 (Ubuntu Hirsute) |
no longer affects: | golang-1.10 (Ubuntu Groovy) |
no longer affects: | golang-1.10 (Ubuntu Focal) |
Changed in golang-1.14 (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in golang-1.14 (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in golang-1.10 (Ubuntu): | |
importance: | Undecided → High |
Changed in golang-1.10 (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in golang-1.10 (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in golang-1.14 (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in golang-1.14 (Ubuntu Groovy): | |
importance: | Undecided → High |
description: | updated |
no longer affects: | golang-1.14 (Ubuntu Xenial) |
no longer affects: | golang-1.14 (Ubuntu Bionic) |
no longer affects: | golang-1.10 (Ubuntu) |
description: | updated |
Changed in golang-1.15 (Ubuntu): | |
status: | New → Fix Released |
Changed in golang-1.14 (Ubuntu Hirsute): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in golang-1.14 (Ubuntu Groovy): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in golang-1.14 (Ubuntu Focal): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in golang-1.10 (Ubuntu Bionic): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in golang-1.10 (Ubuntu Xenial): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in golang-1.14 (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in golang-1.14 (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in golang-1.14 (Ubuntu Focal): | |
status: | New → In Progress |
Changed in golang-1.10 (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in golang-1.10 (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
Changed in golang-1.14 (Ubuntu Hirsute): | |
importance: | High → Low |
Changed in golang-1.15 (Ubuntu): | |
importance: | Undecided → Low |
Patch proposal for golang-1.14 for Hirsute