Improper Input Validation Affecting github.com/spiffe/spire/pkg/common/idutil package, versions <0.11.3>=0.12.0 <0.12.1


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.06% (30th 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 IDSNYK-GOLANG-GITHUBCOMSPIFFESPIREPKGCOMMONIDUTIL-1083206
  • published7 Mar 2021
  • disclosed7 Mar 2021
  • creditc53robin

Introduced: 7 Mar 2021

CVE-2021-27099  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade github.com/spiffe/spire/pkg/common/idutil to version 0.11.3, 0.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation the aws_iid Node Attestor improperly normalizes the path provided through the agent ID templating feature, which may allow the issuance of an arbitrary SPIFFE ID within the same trust domain. This is possible if the attacker controls the value of an EC2 tag prior to attestation, and the attestor is configured for agent ID templating where the tag value is the last element in the path.

CVSS Scores

version 3.1