Affected versions
Ubuntu14.04:LTS/jetty8
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu14.04:LTS/jetty
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/jetty8
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/jetty9
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/jetty
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/jetty9
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/jetty9
- Affected versions
- *
- Fixed version
- Not reported
Description
In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.
Links
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=567921
- https://github.com/eclipse/jetty.project/commit/53e0e0e9b25a6309bf24ee3b10984f4145701edb
- https://github.com/eclipse/jetty.project/commit/9ad6beb80543b392c91653f6bfce233fc75b9d5f
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6#advisory-comment-63053
- https://ubuntu.com/security/CVE-2020-27216
- https://www.cve.org/CVERecord?id=CVE-2020-27216

