Dokku
Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval
Dokku is a docker-powered PaaS. Prior to 0.38.2, the openresty-vhosts plugin copies files from an app's openresty/http-includes/ git repository directory to the host and then interpolates their filenames, unescaped, into a single-quoted shell string that is later parsed by eval. A filename containing a single quote breaks the quoting and allows command substitution to execute arbitrary commands on the host as the dokku user during the app's next deploy. This vulnerability is fixed in 0.38.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.0critical · scored by CNA · CWE-95
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
dokku dokku
- < 0.38.2
Fixed in 0.38.2
Mitigation
Upgrade dokku to 0.38.2 or later.
References
- Vendor advisory github.com/dokku/dokku/security/advisories/GHS…
- Patch github.com/dokku/dokku/pull/8588
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.