GHSA-c9v7-wmwj-vf6x: Withdrawn Advisory SFTP Is Possible On The Vulnerability

HIGH
Published
Advisory Summary

GHSA-c9v7-wmwj-vf6x is a HIGH sftp is possible on the vulnerability (General Security Weakness) affecting Withdrawn Advisory libraries in the Go ecosystem. The issue involves sftp is possible on the proxy server for any user with sftp access. Remediation is available by upgrading affected packages to version 14.2.4, 13.4.13, 12.4.31.

GHSA-c9v7-wmwj-vf6x at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-c9v7-wmwj-vf6x
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Withdrawn Advisory
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-c9v7-wmwj-vf6x

To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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/gravitational/teleport fixed: 14.2.4
Upgrade github.com/gravitational/teleport to 14.2.4
github.com/gravitational/teleport fixed: 13.4.13
Upgrade github.com/gravitational/teleport to 13.4.13
github.com/gravitational/teleport fixed: 12.4.31
Upgrade github.com/gravitational/teleport to 12.4.31
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/gravitational/teleport

How to Check if You Are Affected

To determine whether your application is affected by GHSA-c9v7-wmwj-vf6x, inspect your project dependencies for Withdrawn Advisory:

inspect dependencies for github.com/gravitational/teleport

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.2.4), 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 General Security Weakness. In Withdrawn Advisory, 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

## Withdrawn Advisory This advisory has been withdrawn because the vulnerability affects a binary, not a library in a [supported ecosystem](https://github.com/github/advisory-database#supported-ecosystems). Therefore, users of the library should not receive alerts. This link is maintained to preserve external references. ## Original Description ### Impact An attacker that has access to nodes within the cluster may be able to SFTP to the Proxy Service. The user's permissions on the Proxy server are still respected, so files can only be read or modified on the Proxy if the user has system access to read or write to them. ### Patches Fixed in versions 14.2.4, 13.4.13 and 12.4.31. ### Workarounds This issue can be mitigated by ensuring that regular users do not have a valid principal on the proxy server. To be exploitable, the user's login must exist on a proxy server and the Teleport binary must have permissions to start a session with this user. ### References * Fix PR: https://github.com/gravitational/teleport/pull/36136

GHSA-c9v7-wmwj-vf6x Affected Withdrawn Advisory Versions

3 component(s)
Fixed Versions:
14.2.413.4.1312.4.31
Product / Package Ecosystem Affected Versions Fixed Version
github.com/gravitational/teleport
Go
≥ 14.0.0
< 14.2.4
14.2.4
github.com/gravitational/teleport
Go
≥ 13.0.0
< 13.4.13
13.4.13
github.com/gravitational/teleport
Go
< 12.4.31
12.4.31

References

Frequently Asked Questions

What is GHSA-c9v7-wmwj-vf6x?
GHSA-c9v7-wmwj-vf6x is a security vulnerability in Withdrawn Advisory involving SFTP is possible on the Proxy server for any user with SFTP access under General Security Weakness.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 14.2.4, 13.4.13, 12.4.31 across affected packages: github.com/gravitational/teleport.
What version fixes GHSA-c9v7-wmwj-vf6x?
Upgrading to 14.2.4, 13.4.13, 12.4.31 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/gravitational/teleport affected?
Yes, github.com/gravitational/teleport is affected in releases prior to 14.2.4, 13.4.13, 12.4.31. Upgrade your dependency to 14.2.4, 13.4.13, 12.4.31 or later.
What CWE is associated with GHSA-c9v7-wmwj-vf6x?
GHSA-c9v7-wmwj-vf6x is classified under General Security Weakness.
How can I check Go dependencies for GHSA-c9v7-wmwj-vf6x?
Run the dependency tree command: 'inspect dependencies for github.com/gravitational/teleport'. 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-c9v7-wmwj-vf6x",
  "modified" : "2024-09-06T21:40:24Z",
  "published" : "2024-01-03T21:29:33Z",
  "withdrawn" : "2024-01-23T12:50:08Z",
  "aliases" : [ ],
  "summary" : "Withdrawn Advisory: SFTP is possible on the Proxy server for any user with SFTP access",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the vulnerability affects a binary, not a library in a [supported ecosystem](https://github.com/github/advisory-database#supported-ecosystems). Therefore, users of the library should not receive alerts. This link is maintained to preserve external references.\n\n## Original Description\n\n### Impact\nAn attacker that has access to nodes within the cluster may be able to SFTP to the Proxy Service. The user's permissions on the Proxy server are still respected, so files can only be read or modified on the Proxy if the user has system access to read or write to them.\n\n### Patches\nFixed in versions 14.2.4, 13.4.13 and 12.4.31.\n\n### Workarounds\nThis issue can be mitigated by ensuring that regular users do not have a valid principal on the proxy server. To be exploitable, the user's login must exist on a proxy server and the Teleport binary must have permissions to start a session with this user.\n\n### References\n* Fix PR: https://github.com/gravitational/teleport/pull/36136\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.4.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gravitational/teleport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.4.31"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/gravitational/teleport/security/advisories/GHSA-c9v7-wmwj-vf6x"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gravitational/teleport/pull/36136"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gravitational/teleport/commit/1c77fc49944ebcded32bbdd77c3e1f4f8a1c130d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/gravitational/teleport"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-03T21:29:33Z",
    "nvd_published_at" : null
  }
}