CVE-2022-2712Eclipse Glassfish
High 7.5 No auth needed
Follow: this CVE · Eclipse · Eclipse Glassfish We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- No
- Published
- Jan 27, 2023
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Glassfish.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.glassfish.main.web:web |
≥ 5.1.0 < 7.0.0 |
7.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-3g5w-6pw7-6hrp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eclipse | glassfish | ≥ 5.1.0 ≤ 6.2.5 |
Official sources
References
Links published by the sources. Open them with care.