Cross-site Request Forgery (CSRF) Affecting go.etcd.io/etcd/v3/pkg/httputil package, versions <3.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (61st 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 Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOETCDIOETCDV3PKGHTTPUTIL-1083906
  • published26 Apr 2018
  • disclosed25 Feb 2018
  • creditzelivans

Introduced: 25 Feb 2018

CVE-2018-1098  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade go.etcd.io/etcd/v3/pkg/httputil to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker can set up a website that tries to send a POST request to the etcd server and modify a key. Adding a key is done with PUT so it is theoretically safe (can't PUT from an HTML form or such) but POST allows creating in-order keys that an attacker can send.

CVSS Scores

version 3.1