Lucene search

K
archlinuxArchLinuxASA-202009-3
HistorySep 03, 2020 - 12:00 a.m.

[ASA-202009-3] go: cross-site scripting

2020-09-0300:00:00
security.archlinux.org
10

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.004 Low

EPSS

Percentile

73.8%

Arch Linux Security Advisory ASA-202009-3

Severity: Medium
Date : 2020-09-03
CVE-ID : CVE-2020-24553
Package : go
Type : cross-site scripting
Remote : Yes
Link : https://security.archlinux.org/AVG-1215

Summary

The package go before version 1.15.1-1 is vulnerable to cross-site
scripting.

Resolution

Upgrade to 1.15.1-1.

pacman -Syu β€œgo>=1.15.1-1”

The problem has been fixed upstream in version 1.15.1.

Workaround

None.

Description

In Go versions before 1.15.1 and 1.14.8 if the Content-Type header of a
Handler was not explicitly set the net/http/cgi and net/http/fcgi
packages would default to β€œtext/html”, which could cause a Cross-Site
Scripting vulnerability if an attacker can control any part of the
contents of a response.

Impact

A remote attacker is able to execute javascript or create html content
by sending specially crafted web content.

References

https://github.com/golang/go/issues/40928
https://www.redteam-pentesting.de/advisories/rt-sa-2020-004
https://groups.google.com/g/golang-announce/c/8wqlSbkLdPs/m/UccMwBPUBAAJ
https://github.com/golang/go/commit/eb07103a083237414145a45f029c873d57037e06
https://security.archlinux.org/CVE-2020-24553

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanygo<Β 1.15.1-1UNKNOWN

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.004 Low

EPSS

Percentile

73.8%