Server-Side Request Forgery (SSRF) Affecting octo-sts package, versions <0.5.3-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (11th 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 Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-OCTOSTS-10566844
  • published30 Jun 2025
  • disclosed26 Jun 2025

Introduced: 26 Jun 2025

NewCVE-2025-52477  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Chainguard octo-sts to version 0.5.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream octo-sts package and not the octo-sts package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Octo-STS is a GitHub App that acts like a Security Token Service (STS) for the GitHub API. Octo-STS versions before v0.5.3 are vulnerable to unauthenticated SSRF by abusing fields in OpenID Connect tokens. Malicious tokens were shown to trigger internal network requests which could reflect error logs with sensitive information. Upgrade to v0.5.3 to resolve this issue. This version includes patch sets to sanitize input and redact logging.