Pocketbase
Pocketbase: Unhandled panic in worker goroutines
Pocketbase is an open source web backend written in go. Prior to 0.22.48 and 0.39.7, PocketBase's panic-recovery middleware covers regular request handling but not internal child and worker goroutines. A panic in one of these internal goroutines can escape recovery and terminate the server process, causing a denial of service. The remediation introduces routine.SafeWrap to convert recovered panics into regular errors and applies it to the affected internal worker functions. This issue is fixed in versions 0.22.48 and 0.39.7.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-248
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
pocketbase pocketbase
- < 0.22.48
- >= 0.23.0, < 0.39.7
Fixed in 0.22.48, 0.39.7
Mitigation
Upgrade pocketbase to 0.22.48 or 0.39.7 or later.
References
- Vendor advisory github.com/pocketbase/pocketbase/security/advi…
- Patch github.com/pocketbase/pocketbase/commit/30b418…
- Patch github.com/pocketbase/pocketbase/commit/f1618e…
2 more
- Release notes github.com/pocketbase/pocketbase/releases/tag/…
- Release notes github.com/pocketbase/pocketbase/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.