CVE-2022-45129: Payara Payara, When Deployed To The Vulnerability
HIGHCVE-2022-45129 is a HIGH (CVSS 7.5) payara, when deployed to the vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Payara libraries in the Maven ecosystem. The issue involves payara, when deployed to the root context, allows attackers to visit meta-inf and web-inf. Remediation is available by upgrading affected packages to version 6.2022.2, 5.2022.5.
CVE-2022-45129 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-45129
To remediate this vulnerability, upgrade all affected Payara dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>fish.payara.distributions</groupId>
<artifactId>payara</artifactId>
<version>6.2022.2</version>
</dependency>
<dependency>
<groupId>fish.payara.distributions</groupId>
<artifactId>payara</artifactId>
<version>5.2022.5</version>
</dependency>
<dependency>
<groupId>fish.payara.distributions</groupId>
<artifactId>payara</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=fish.payara.distributions
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-45129, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=fish.payara.distributions
Analyze the terminal output to locate any version of Payara in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2022.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=fish.payara.distributions command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Payara, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-45129 Affected Payara Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fish.payara.distributions:payara
|
Maven |
≥ 6.2021.1.Alpha1
< 6.2022.2
|
6.2022.2
|
|
fish.payara.distributions:payara
|
Maven |
≥ 5.0.0.Alpha1
< 5.2022.5
|
5.2022.5
|
|
fish.payara.distributions:payara
|
Maven |
≤ 4.1.2.181
|
|
References
Frequently Asked Questions
What is CVE-2022-45129?
Which Payara versions are affected?
What version fixes CVE-2022-45129?
Is payara affected?
What is the CVSS score of CVE-2022-45129?
What CWE is associated with CVE-2022-45129?
How can I check Maven dependencies for CVE-2022-45129?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q35w-85pq-rv3x",
"modified" : "2025-09-04T18:23:53Z",
"published" : "2022-11-10T12:01:03Z",
"aliases" : [ "CVE-2022-45129" ],
"summary" : "Payara, when deployed to the root context, allows attackers to visit META-INF and WEB-INF",
"details" : "Payara before 2022-11-04, when deployed to the root context, allows attackers to visit META-INF and WEB-INF, a different vulnerability than CVE-2022-37422. This affects Payara Platform Community before 4.1.2.191.38, 5.x before 5.2022.4, and 6.x before 6.2022.1, and Payara Platform Enterprise before 5.45.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "fish.payara.distributions:payara"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.2021.1.Alpha1"
}, {
"fixed" : "6.2022.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "fish.payara.distributions:payara"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0.Alpha1"
}, {
"fixed" : "5.2022.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 5.2022.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "fish.payara.distributions:payara"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.1.2.181"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-45129"
}, {
"type" : "WEB",
"url" : "https://github.com/payara/Payara/issues/6136"
}, {
"type" : "WEB",
"url" : "https://github.com/payara/Payara/commit/cccdfddeda71c78ae7b3179db5429e1bb8a56b2e"
}, {
"type" : "WEB",
"url" : "https://blog.payara.fish/whats-new-in-the-november-2022-payara-platform-release"
}, {
"type" : "WEB",
"url" : "https://docs.payara.fish/community/docs/6.2022.1/Release%20Notes/Release%20Notes%206.2022.1.html"
}, {
"type" : "WEB",
"url" : "https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%205.2022.4.html"
}, {
"type" : "WEB",
"url" : "https://docs.payara.fish/enterprise/docs/Release%20Notes/Release%20Notes%205.45.0.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/payara/Payara"
}, {
"type" : "WEB",
"url" : "https://github.com/payara/Payara/issues?q=FISH-6775"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/169864/Payara-Platform-Path-Traversal.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2022/Nov/11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-04T18:23:53Z",
"nvd_published_at" : "2022-11-10T06:15:00Z"
}
}