{"id":"CVE-2022-2712","aliases":["EUVD-2023-0320","GHSA-3g5w-6pw7-6hrp","UBUNTU-CVE-2022-2712"],"status":"published","title":"Path Traversal In Eclipse GlassFish","description":"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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00961,"percentile":0.61829,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2023-01-27T00:00:00Z","modified":"2026-10-28T20:15:34Z","fixes":[{"ecosystem":"Maven","package":"org.glassfish.main.web:web","fixed_in":["7.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.glassfish.main.web:web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"7.0.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.glassfish.main.web:web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"7.0.0"}]}],"versions":["5.1.0","6.0.0","6.0.0-M1","6.0.0-RC1","6.0.0-RC2","6.0.0-RC3","6.0.0-RC4","6.1.0","6.2.0","6.2.1","6.2.2","6.2.3","6.2.4","6.2.5","7.0.0-M1","7.0.0-M10","7.0.0-M2","7.0.0-M3","7.0.0-M4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"glassfish","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.1.1-b31g+dfsg1-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"glassfish","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.1.1-b31g+dfsg1-4"]}],"products":[{"vendor":"eclipse","product":"glassfish"},{"vendor":"eclipse foundation","product":"eclipse glassfish"},{"vendor":"the eclipse foundation","product":"eclipse glassfish"}],"references":[{"url":"https://bugs.eclipse.org/580502","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2712","tags":["advisory"]},{"url":"https://github.com/eclipse-ee4j/glassfish/pull/24077","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3g5w-6pw7-6hrp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2712.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-2712","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2712","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2712","description":"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.","status":"published","published":"2023-01-27T00:00:00Z","modified":"2026-07-22T14:22:42.969Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:32.156873Z"}],"euvd":[{"id":"EUVD-2023-0320","description":"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.","status":"published","published":"2023-01-27T00:00:00Z","modified":"2026-07-22T14:22:42Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T18:19:46.391735Z"}],"ghsa":[{"id":"GHSA-3g5w-6pw7-6hrp","title":"Path Traversal In Eclipse GlassFish","description":"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.","status":"published","published":"2023-01-27T12:30:29Z","modified":"2023-01-28T01:19:43Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:22.592333Z"}],"nvd":[{"id":"CVE-2022-2712","description":"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.","status":"published","published":"2023-01-27T10:15:09.033Z","modified":"2026-07-22T15:16:49.977Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:35.561816Z"}],"osv":[{"id":"CVE-2022-2712","description":"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.","status":"published","published":"2023-01-27T00:00:00Z","modified":"2026-10-28T02:30:43.198760353Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-3g5w-6pw7-6hrp","title":"Path Traversal In Eclipse GlassFish","description":"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.","status":"published","published":"2023-01-27T12:30:29Z","modified":"2023-11-08T04:08:56.085788Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"UBUNTU-CVE-2022-2712","description":"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.","status":"published","published":"2023-01-27T10:15:00Z","modified":"2026-10-28T20:15:34.827199754Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T16:53:53.13624Z"}]}}
