---
title: 'USN-4758-1: Go vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-4758-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-4758-1

---

# USN-4758-1: Go vulnerability

Publication date

8 March 2021

Overview

Go applications could be made to perform XSS attacks.

Releases

[20.10](https://ubuntu.com/security/notices?release=groovy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [golang-1.10](https://ubuntu.com/security/cves?package=golang-1.10) - Go programming language compiler
* [golang-1.14](https://ubuntu.com/security/cves?package=golang-1.14) - Go programming language compiler

## Details

It was discovered that Go applications incorrectly handled uploaded content. If
a user were tricked into visiting a malicious page, a remote attacker could
exploit this with a crafted file to conduct cross-site scripting (XSS) attacks.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.10 groovy | [golang-1.14](https://launchpad.net/ubuntu/+source/golang-1.14) –  [1.14.7-2ubuntu1.1](https://launchpad.net/ubuntu/+source/golang-1.14/1.14.7-2ubuntu1.1) | | |
| [golang-1.14-go](https://launchpad.net/ubuntu/+source/golang-1.14) –  [1.14.7-2ubuntu1.1](https://launchpad.net/ubuntu/+source/golang-1.14/1.14.7-2ubuntu1.1) | | |
| 20.04 LTS focal | [golang-1.14](https://launchpad.net/ubuntu/+source/golang-1.14) –  [1.14.3-2ubuntu2~20.04.2](https://launchpad.net/ubuntu/+source/golang-1.14/1.14.3-2ubuntu2~20.04.2) | | |
| [golang-1.14-go](https://launchpad.net/ubuntu/+source/golang-1.14) –  [1.14.3-2ubuntu2~20.04.2](https://launchpad.net/ubuntu/+source/golang-1.14/1.14.3-2ubuntu2~20.04.2) | | |
| 18.04 LTS bionic | [golang-1.10](https://launchpad.net/ubuntu/+source/golang-1.10) –  [1.10.4-2ubuntu1~18.04.2](https://launchpad.net/ubuntu/+source/golang-1.10/1.10.4-2ubuntu1~18.04.2) | | |
| [golang-1.10-go](https://launchpad.net/ubuntu/+source/golang-1.10) –  [1.10.4-2ubuntu1~18.04.2](https://launchpad.net/ubuntu/+source/golang-1.10/1.10.4-2ubuntu1~18.04.2) | | |
| 16.04 LTS xenial | [golang-1.10](https://launchpad.net/ubuntu/+source/golang-1.10) –  [1.10.4-2ubuntu1~16.04.2](https://launchpad.net/ubuntu/+source/golang-1.10/1.10.4-2ubuntu1~16.04.2) | | |
| [golang-1.10-go](https://launchpad.net/ubuntu/+source/golang-1.10) –  [1.10.4-2ubuntu1~16.04.2](https://launchpad.net/ubuntu/+source/golang-1.10/1.10.4-2ubuntu1~16.04.2) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2020-24553](https://ubuntu.com/security/CVE-2020-24553)
