CVE-2026-28342: Github.com/OliveTin/OliveTin Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-pc8g-78pf-4xrp
CVSS 7.5
CWE-400 CWE-770
Published
Advisory Summary

CVE-2026-28342 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/OliveTin/OliveTin libraries in the Go ecosystem. The issue involves olivetin has unauthenticated denial of service via memory exhaustion in passwordhash api endpoint. Remediation is available by upgrading affected packages to version 0.0.0-20260227002407-2eb5f0ba79d4.

CVE-2026-28342 at a Glance

CVE Identifier CVE-2026-28342
GHSA Identifier GHSA-pc8g-78pf-4xrp
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/OliveTin/OliveTin
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:U/C:N/I:N/A:H).

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

How to Fix CVE-2026-28342

To remediate this vulnerability, upgrade all affected Github.com/OliveTin/OliveTin 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/OliveTin/OliveTin fixed: 0.0.0-20260227002407-2eb5f0ba79d4
Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260227002407-2eb5f0ba79d4
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/OliveTin/OliveTin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-28342, inspect your project dependencies for Github.com/OliveTin/OliveTin:

inspect dependencies for github.com/OliveTin/OliveTin

Analyze the terminal output to locate any version of Github.com/OliveTin/OliveTin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260227002407-2eb5f0ba79d4), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/OliveTin/OliveTin, 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 The PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS). The issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits. ## Details The vulnerable endpoint: `POST /api/olivetin.api.v1.OliveTinApiService/PasswordHash` accepts a JSON body containing a password field and returns a computed password hash. Each request triggers a memory-intensive hashing operation. When multiple concurrent requests are sent, memory consumption increases significantly. There are no safeguards such as: - Authentication requirements - Rate limiting - Request throttling - Memory usage caps per request - Concurrency controls As a result, an attacker can repeatedly invoke the endpoint in parallel, causing excessive RAM allocation inside the container. In a test environment, 50 concurrent requests resulted in approximately 3.2 GB of memory usage (≈64 MB per request), leading to service instability. This behavior allows unauthenticated attackers to perform a denial of service attack by exhausting server memory resources. ## PoC Environment - Docker container: olivetin-test - Exposed API on: http://localhost:1337 - Default configuration (no authentication enabled) ## Reproduction Steps Run the following script to send 50 concurrent requests: ```bash for i in $(seq 1 50); do curl -s -X POST http://localhost:1337/api/olivetin.api.v1.OliveTinApiService/PasswordHash \ -H "Content-Type: application/json" \ -d "{\"password\":\"flood-$i\"}" & done docker stats olivetin-test --no-stream wait ``` ```bash ┌──(root㉿kali)-[~/cve/OliveTin] └─# docker stats olivetin-test --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18509670bf3e olivetin-test 344.63% 6.189GiB / 7.753GiB 79.83% 313kB / 288kB 4.31MB / 106MB 7 ``` `Docker CPU is 344.63%` ### Impact This vulnerability allows unauthenticated remote attackers to: - Exhaust server memory - Crash the service - Cause availability loss - Trigger container termination in orchestrated environments This is a Denial of Service (DoS) vulnerability affecting service availability. Production deployments without reverse proxy rate limiting (e.g., Nginx, Traefik) are especially at risk.

CVE-2026-28342 Affected Github.com/OliveTin/OliveTin Versions

1 component(s)
Fixed Versions:
0.0.0-20260227002407-2eb5f0ba79d4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/OliveTin/OliveTin
Go
< 0.0.0-20260227002407-2eb5f0ba79d4
0.0.0-20260227002407-2eb5f0ba79d4

References

Frequently Asked Questions

What is CVE-2026-28342?
CVE-2026-28342 is a security vulnerability in Github.com/OliveTin/OliveTin involving OliveTin has Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/OliveTin/OliveTin versions are affected?
Affected versions include releases prior to 0.0.0-20260227002407-2eb5f0ba79d4 across affected packages: github.com/OliveTin/OliveTin.
What version fixes CVE-2026-28342?
Upgrading to 0.0.0-20260227002407-2eb5f0ba79d4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/OliveTin/OliveTin affected?
Yes, github.com/OliveTin/OliveTin is affected in releases prior to 0.0.0-20260227002407-2eb5f0ba79d4. Upgrade your dependency to 0.0.0-20260227002407-2eb5f0ba79d4 or later.
What is the CVSS score of CVE-2026-28342?
CVE-2026-28342 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-28342?
CVE-2026-28342 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2026-28342?
Run the dependency tree command: 'inspect dependencies for github.com/OliveTin/OliveTin'. 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-pc8g-78pf-4xrp",
  "modified" : "2026-03-05T22:49:13Z",
  "published" : "2026-03-02T18:49:27Z",
  "aliases" : [ "CVE-2026-28342" ],
  "summary" : "OliveTin has Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint",
  "details" : "## Summary\n\nThe PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS).\n\nThe issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits.\n\n## Details\n\nThe vulnerable endpoint:\n\n`POST /api/olivetin.api.v1.OliveTinApiService/PasswordHash`\n\naccepts a JSON body containing a password field and returns a computed password hash.\n\nEach request triggers a memory-intensive hashing operation. When multiple concurrent requests are sent, memory consumption increases significantly. There are no safeguards such as:\n\n- Authentication requirements\n- Rate limiting\n- Request throttling\n- Memory usage caps per request\n- Concurrency controls\n\nAs a result, an attacker can repeatedly invoke the endpoint in parallel, causing excessive RAM allocation inside the container.\n\nIn a test environment, 50 concurrent requests resulted in approximately 3.2 GB of memory usage (≈64 MB per request), leading to service instability.\n\nThis behavior allows unauthenticated attackers to perform a denial of service attack by exhausting server memory resources.\n\n## PoC\nEnvironment\n\n- Docker container: olivetin-test\n- Exposed API on: http://localhost:1337\n- Default configuration (no authentication enabled)\n\n## Reproduction Steps\n\nRun the following script to send 50 concurrent requests:\n\n```bash\nfor i in $(seq 1 50); do\n  curl -s -X POST http://localhost:1337/api/olivetin.api.v1.OliveTinApiService/PasswordHash \\\n    -H \"Content-Type: application/json\" \\\n    -d \"{\\\"password\\\":\\\"flood-$i\\\"}\" &\ndone\ndocker stats olivetin-test --no-stream\nwait\n```\n\n```bash\n┌──(root㉿kali)-[~/cve/OliveTin]\n└─# docker stats olivetin-test --no-stream\nCONTAINER ID   NAME            CPU %     MEM USAGE / LIMIT     MEM %     NET I/O         BLOCK I/O        PIDS\n18509670bf3e   olivetin-test   344.63%   6.189GiB / 7.753GiB   79.83%    313kB / 288kB   4.31MB / 106MB   7\n\n```\n\n`Docker CPU is 344.63%`\n\n### Impact\n\nThis vulnerability allows unauthenticated remote attackers to:\n\n- Exhaust server memory\n- Crash the service\n- Cause availability loss\n- Trigger container termination in orchestrated environments\n\nThis is a Denial of Service (DoS) vulnerability affecting service availability.\n\nProduction deployments without reverse proxy rate limiting (e.g., Nginx, Traefik) are especially at risk.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/OliveTin/OliveTin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260227002407-2eb5f0ba79d4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/security/advisories/GHSA-pc8g-78pf-4xrp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28342"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/commit/2eb5f0ba79d4bbef3c802bf8b4666a7e18dcfd90"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OliveTin/OliveTin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OliveTin/OliveTin/releases/tag/3000.10.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-02T18:49:27Z",
    "nvd_published_at" : "2026-03-05T20:16:15Z"
  }
}