{"id":"UBUNTU-CVE-2022-2712","details":"In Eclipse GlassFish versions 5.1.0 to 6.2.5, there is a vulnerability in relative path traversal because it does not filter request path starting with './'. Successful exploitation could allow an remote unauthenticated attacker to access critical data, such as configuration files and deployed application source code. This is fixed in GlassFish 7.0.0.","modified":"2026-09-16T14:00:55.863945990Z","published":"2023-01-27T10:15:00Z","upstream":["CVE-2022-2712"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-2712"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-2712"}],"affected":[{"package":{"name":"glassfish","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/glassfish?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.1.1-b31g+dfsg1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"glassfish-activation","binary_version":"1:2.1.1-b31g+dfsg1-3"},{"binary_name":"glassfish-javaee","binary_version":"1:2.1.1-b31g+dfsg1-3"},{"binary_name":"glassfish-jmac-api","binary_version":"1:2.1.1-b31g+dfsg1-3"},{"binary_name":"glassfish-mail","binary_version":"1:2.1.1-b31g+dfsg1-3"},{"binary_name":"glassfish-toplink-essentials","binary_version":"1:2.1.1-b31g+dfsg1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2712.json"}},{"package":{"name":"glassfish","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/glassfish?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.1.1-b31g+dfsg1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"glassfish-javaee","binary_version":"1:2.1.1-b31g+dfsg1-4"},{"binary_version":"1:2.1.1-b31g+dfsg1-4","binary_name":"glassfish-jmac-api"},{"binary_version":"1:2.1.1-b31g+dfsg1-4","binary_name":"glassfish-toplink-essentials"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2712.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}