CVE-2025-52477: Github.com/octo sts/app Octo STS Unauthenticated SSRF By Vulnerability

HIGH
Advisory Identifier: GHSA-h3qp-hwvr-9xcq
CVSS 8.6
CWE-918
Published
Advisory Summary

CVE-2025-52477 is a HIGH (CVSS 8.6) octo sts unauthenticated ssrf by vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/octo sts/app libraries in the Go ecosystem. The issue involves octo sts unauthenticated ssrf by abusing fields in openid connect tokens. Remediation is available by upgrading affected packages to version 0.5.3.

CVE-2025-52477 at a Glance

CVE Identifier CVE-2025-52477
GHSA Identifier GHSA-h3qp-hwvr-9xcq
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Github.com/octo sts/app
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-52477

To remediate this vulnerability, upgrade all affected Github.com/octo sts/app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/octo-sts/app fixed: 0.5.3
Upgrade github.com/octo-sts/app to 0.5.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/octo-sts/app

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-52477, inspect your project dependencies for Github.com/octo sts/app:

inspect dependencies for github.com/octo-sts/app

Analyze the terminal output to locate any version of Github.com/octo sts/app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Github.com/octo sts/app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary 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. Please upgrade to v0.5.3 to resolve this issue. This version includes patch sets to [sanitize input](https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92) and [redact logging](https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd). Many thanks to @vicevirus for reporting this issue and for assisting with remediation review. ## References - https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq - https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92 - https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd

CVE-2025-52477 Affected Github.com/octo sts/app Versions

1 component(s)
Fixed Versions:
0.5.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/octo-sts/app
Go
< 0.5.3
0.5.3

References

Frequently Asked Questions

What is CVE-2025-52477?
CVE-2025-52477 is a security vulnerability in Github.com/octo sts/app involving Octo STS Unauthenticated SSRF by abusing fields in OpenID Connect tokens under CWE-918: Server-Side Request Forgery (SSRF).
Which Github.com/octo sts/app versions are affected?
Affected versions include releases prior to 0.5.3 across affected packages: github.com/octo-sts/app.
What version fixes CVE-2025-52477?
Upgrading to 0.5.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/octo-sts/app affected?
Yes, github.com/octo-sts/app is affected in releases prior to 0.5.3. Upgrade your dependency to 0.5.3 or later.
What is the CVSS score of CVE-2025-52477?
CVE-2025-52477 has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2025-52477?
CVE-2025-52477 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Go dependencies for CVE-2025-52477?
Run the dependency tree command: 'inspect dependencies for github.com/octo-sts/app'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h3qp-hwvr-9xcq",
  "modified" : "2025-06-26T18:53:54Z",
  "published" : "2025-06-26T18:53:54Z",
  "aliases" : [ "CVE-2025-52477" ],
  "summary" : "Octo STS Unauthenticated SSRF by abusing fields in OpenID Connect tokens",
  "details" : "##  Summary\n\nOcto-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. \n\nPlease upgrade to v0.5.3 to resolve this issue. This version includes patch sets to [sanitize input](https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92) and [redact logging](https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd).\n\nMany thanks to @vicevirus for reporting this issue and for assisting with remediation review.\n\n## References\n\n- https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq\n- https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92\n- https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/octo-sts/app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.5.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.5.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/octo-sts/app/security/advisories/GHSA-h3qp-hwvr-9xcq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-52477"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/octo-sts/app/commit/0f177fde54f9318e33f0bba6abaea9463a7c3afd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/octo-sts/app/commit/b3976e39bd8c8c217c0670747d34a4499043da92"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/octo-sts/app"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-26T18:53:54Z",
    "nvd_published_at" : "2025-06-26T17:15:30Z"
  }
}