CVE-2022-2712
HIGH 7.5CVSS 3.1Path Traversal In Eclipse GlassFish
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.
- Published
- 27 Jan 2023
- Last modified
- 22 Jul 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-3g5w-6pw7-6hrp
- Sources
- NVDJSONOSV GHSA-3g5w-6pw7-6hrpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | emo@eclipse.org (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eclipse | glassfishcpe:2.3:a:eclipse:glassfish:*:*:*:*:*:*:*:* |
>= 5.1.0, <= 6.2.5 | |
| OSV | Maven | org.glassfish.main.web:web | >= 5.1.0, < 7.0.0 | 7.0.0 |
References
- https://bugs.eclipse.org/580502 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2712 · ADVISORY
- https://github.com/eclipse-ee4j/glassfish/pull/24077 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Jan 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Jan 2023)