Privilege Escalation Affecting github.com/projectcapsule/capsule-proxy/internal/request package, versions <0.4.6


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.14% (52nd 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-GITHUBCOMPROJECTCAPSULECAPSULEPROXYINTERNALREQUEST-6085291
  • published30 Nov 2023
  • disclosed24 Nov 2023
  • creditLuis Davim

Introduced: 24 Nov 2023

CVE-2023-48312  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade github.com/projectcapsule/capsule-proxy/internal/request to version 0.4.6 or higher.

Overview

github.com/projectcapsule/capsule-proxy/internal/request is a reverse proxy for Capsule Operator.

Affected versions of this package are vulnerable to Privilege Escalation due to a missing authentication check on a TokenReview result. This allows an attacker to bypass authentication and escalate privileges by using an empty token when the anonymous-auth Kubernetes API Server setting is disabled.

References

CVSS Scores

version 3.1