Improper Input Validation Affecting golang-src package, versions *


Severity

medium

    Threat Intelligence

    EPSS
    3.74% (92nd 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-RHEL7-GOLANGSRC-4409604
  • published 26 Jul 2021
  • disclosed 13 Aug 2019

How to fix?

There is no fixed version for RHEL:7 golang-src.

NVD Description

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

net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

9.8 critical
Expand this section

SUSE

9.8 critical
Expand this section

Red Hat

7.5 high