GHSA-f28g-86hc-823q: Github.com/superfly/tokenizer Remote Code Execution Vulnerability

MODERATE
Published
Advisory Summary

GHSA-f28g-86hc-823q is a MODERATE remote code execution vulnerability (General Security Weakness) affecting Github.com/superfly/tokenizer libraries in the Go ecosystem. The issue involves tokenizer vulnerable to client brute-force of token secrets. Remediation is available by upgrading affected packages to version 0.0.1.

GHSA-f28g-86hc-823q at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f28g-86hc-823q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/superfly/tokenizer
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-f28g-86hc-823q

To remediate this vulnerability, upgrade all affected Github.com/superfly/tokenizer 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/superfly/tokenizer fixed: 0.0.1
Upgrade github.com/superfly/tokenizer to 0.0.1
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/superfly/tokenizer

How to Check if You Are Affected

To determine whether your application is affected by GHSA-f28g-86hc-823q, inspect your project dependencies for Github.com/superfly/tokenizer:

inspect dependencies for github.com/superfly/tokenizer

Analyze the terminal output to locate any version of Github.com/superfly/tokenizer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.1), 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 Github.com/superfly/tokenizer, 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

### Impact Authorized clients, having an `inject_processor` secret, could brute-force the secret token value by abusing the `fmt` parameter to the `Proxy-Tokenizer` header. ### Patches This was fixed in https://github.com/superfly/tokenizer/pull/8 and further mitigated in https://github.com/superfly/tokenizer/pull/9.

GHSA-f28g-86hc-823q Affected Github.com/superfly/tokenizer Versions

1 component(s)
Fixed Versions:
0.0.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/superfly/tokenizer
Go
< 0.0.1
0.0.1

References

Frequently Asked Questions

What is GHSA-f28g-86hc-823q?
GHSA-f28g-86hc-823q is a security vulnerability in Github.com/superfly/tokenizer involving Tokenizer vulnerable to client brute-force of token secrets under General Security Weakness.
Which Github.com/superfly/tokenizer versions are affected?
Affected versions include releases prior to 0.0.1 across affected packages: github.com/superfly/tokenizer.
What version fixes GHSA-f28g-86hc-823q?
Upgrading to 0.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/superfly/tokenizer affected?
Yes, github.com/superfly/tokenizer is affected in releases prior to 0.0.1. Upgrade your dependency to 0.0.1 or later.
What CWE is associated with GHSA-f28g-86hc-823q?
GHSA-f28g-86hc-823q is classified under General Security Weakness.
How can I check Go dependencies for GHSA-f28g-86hc-823q?
Run the dependency tree command: 'inspect dependencies for github.com/superfly/tokenizer'. 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-f28g-86hc-823q",
  "modified" : "2024-05-20T21:54:03Z",
  "published" : "2023-07-13T19:56:19Z",
  "aliases" : [ ],
  "summary" : "Tokenizer vulnerable to client brute-force of token secrets",
  "details" : "### Impact\n\nAuthorized clients, having an `inject_processor` secret, could brute-force the secret token value by abusing the `fmt` parameter to the `Proxy-Tokenizer` header.\n\n### Patches\n\nThis was fixed in https://github.com/superfly/tokenizer/pull/8 and further mitigated in https://github.com/superfly/tokenizer/pull/9.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/superfly/tokenizer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/superfly/tokenizer/security/advisories/GHSA-f28g-86hc-823q"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/superfly/tokenizer/pull/8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/superfly/tokenizer/pull/9"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/superfly/tokenizer"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-13T19:56:19Z",
    "nvd_published_at" : null
  }
}