Cross-site Scripting (XSS) Affecting golang-docs package, versions <0:1.14.12-1.module+el8.3.0+8784+380394dc


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.62% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-GOLANGDOCS-2087564
  • published 26 Jul 2021
  • disclosed 1 Aug 2020

How to fix?

Upgrade Centos:8 golang-docs to version 0:1.14.12-1.module+el8.3.0+8784+380394dc or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-docs package and not the golang-docs package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

NVD

6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

Red Hat

6.1 medium
Expand this section

SUSE

6.1 medium