Vulnerabilities in pkg:golang/github.com/superfly/tokenizer
PACKAGEGHSA-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.
pkg:golang/github.com/superfly/tokenizer
Vulnerability advisories affecting package pkg:golang/github.com/superfly/tokenizer. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-f28g-86hc-823q | - | MODERATE | Tokenizer vulnerable to client brute-force of token secrets |
GHSA-f28g-86hc-823q at a Glance
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.
Upgrade github.com/superfly/tokenizer to 0.0.1
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
GHSA-f28g-86hc-823q Affected Github.com/superfly/tokenizer Versions
1 component(s)| 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?
Which Github.com/superfly/tokenizer versions are affected?
What version fixes GHSA-f28g-86hc-823q?
Is github.com/superfly/tokenizer affected?
What CWE is associated with GHSA-f28g-86hc-823q?
How can I check Go dependencies for GHSA-f28g-86hc-823q?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}