Improper Input Validation Affecting github.com/cactus/go-camo/pkg/camo package, versions <2.1.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (63rd 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCACTUSGOCAMOPKGCAMO-523463
  • published13 Nov 2019
  • disclosed13 Nov 2019
  • creditUnknown

Introduced: 13 Nov 2019

CVE-2019-18923  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/cactus/go-camo/pkg/camo to version 2.1.1 or higher.

Overview

github.com/cactus/go-camo/pkg/camo is a HTTP proxy server with content type restrictions as well as regex host allow list support.

Affected versions of this package are vulnerable to Improper Input Validation. Insufficient content type validation of proxied resources in go-camo can allow a remote attacker to serve arbitrary content from go-camo's origin.

CVSS Base Scores

version 3.1