Vulnerability · Published Jan 27, 2023 · Assigned by eclipse

CVE-2022-2712

Medium 6.5

In plain English

A medium-severity path traversal in Eclipse GlassFish from The Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.9%top 39.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.glassfish.main.web:web7.0.0GHSA-3g5w-6pw7-6hrp

Affected products (as reported)

VendorProductVersions
The Eclipse Foundation Eclipse GlassFish 5.1.0 – before 7.0.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References