Canonical Ubuntu
Sandbox Escape in Ubuntu OpenJDK Packages via xdg-desktop-portal
A sandbox escape vulnerability exists in the OpenJDK packages provided in Ubuntu. The .jar MIME handlers installed by these packages execute files marked as executable when the mailcap package is installed. A compromised or malicious sandboxed application with access to the OpenURI portal via xdg-desktop-portal-gtk can write a malicious .jar file to the host file system, set its executable bit, and trigger the handler to execute arbitrary code outside of the sandbox environment.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.70+nmu1ubuntu1.22.04.1
- < 3.70+nmu1ubuntu1.24.04.1
- < 3.74ubuntu1.1
- < 3.75ubuntu1.1
Fixed in 3.70+nmu1ubuntu1.22.04.1, 3.70+nmu1ubuntu1.24.04.1, 3.74ubuntu1.1, 3.75ubuntu1.1
Mitigation
Upgrade Ubuntu to 3.70+nmu1ubuntu1.22.04.1 or 3.70+nmu1ubuntu1.24.04.1 or 3.74ubuntu1.1 or 3.75ubuntu1.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.