Cross-site Request Forgery (CSRF) Affecting cd.go.plugin:go-plugin-api package, versions [19.6.0,21.2.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (42nd 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-JAVA-CDGOPLUGIN-1090357
  • published4 Apr 2021
  • disclosed2 Apr 2021
  • creditUnknown

Introduced: 2 Apr 2021

CVE-2021-25924  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade cd.go.plugin:go-plugin-api to version 21.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to missing CSRF protection at the /go/api/config/backup endpoint. An attacker can trick a victim to click on a malicious link which could change backup configurations or execute system commands in the post_backup_script field.

References

CVSS Scores

version 3.1