Directory Traversal Affecting github.com/golang/gddo/gosrc package, versions <0.0.0-20210115222349-20d68f94ee1f


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 1.33% (86th percentile)
Expand this section
NVD
9.8 critical

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-GOLANG-GITHUBCOMGOLANGGDDOGOSRC-50079
  • published 19 Jul 2018
  • disclosed 2 Jul 2018
  • credit Tencent Security Platform

How to fix?

Upgrade github.com/golang/gddo/gosrc to version 0.0.0-20210115222349-20d68f94ee1f or higher.

Overview

github.com/golang/gddo/gosrc is a package source for https://godoc.org/

Affected versions of this package are vulnerable to Directory Traversal. An attacker could use specially crafted <go-import> tags in packages being fetched by gddo to cause a directory traversal and remote code execution.