Vulnerabilities in pkg:maven/de.averbis.textanalysis/pear-archetype
PACKAGEGHSA-j7c3-96rf-jrrp is a CRITICAL critical vulnerability vulnerability (General Security Weakness) affecting Pear archetype libraries in the Maven ecosystem. The issue involves critical vulnerability in log4j may affect generated pear projects. Remediation is available by upgrading affected packages to version 2.0.1.
pkg:maven/de.averbis.textanalysis/pear-archetype
Vulnerability advisories affecting package pkg:maven/de.averbis.textanalysis/pear-archetype. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j7c3-96rf-jrrp | - | CRITICAL | Critical vulnerability in log4j may affect generated PEAR projects |
GHSA-j7c3-96rf-jrrp at a Glance
How to Fix GHSA-j7c3-96rf-jrrp
To remediate this vulnerability, upgrade all affected Pear archetype 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>de.averbis.textanalysis</groupId>
<artifactId>pear-archetype</artifactId>
<version>2.0.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=de.averbis.textanalysis
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-j7c3-96rf-jrrp, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=de.averbis.textanalysis
Analyze the terminal output to locate any version of Pear archetype in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=de.averbis.textanalysis 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 General Security Weakness. In Pear archetype, 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
GHSA-j7c3-96rf-jrrp Affected Pear archetype Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
de.averbis.textanalysis:pear-archetype
|
Maven |
≥ 2.0.0
< 2.0.1
All 1 versions
2.0.0
|
2.0.1
|
References
Frequently Asked Questions
What is GHSA-j7c3-96rf-jrrp?
Which Pear archetype versions are affected?
What version fixes GHSA-j7c3-96rf-jrrp?
Is pear-archetype affected?
What CWE is associated with GHSA-j7c3-96rf-jrrp?
How can I check Maven dependencies for GHSA-j7c3-96rf-jrrp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j7c3-96rf-jrrp",
"modified" : "2021-12-16T18:57:47Z",
"published" : "2021-12-16T21:01:51Z",
"aliases" : [ ],
"summary" : "Critical vulnerability in log4j may affect generated PEAR projects",
"details" : "### Impact\nUIMA PEAR projects that have been generated with the `de.averbis.textanalysis:pear-archetype ` version `2.0.0` have a maven dependency with scope `test` to` log4j 2.8.2` and might be affected by CVE-2021-44228.\n\n### Patches\n- The issue has been resolved in `de.averbis.textanalysis:pear-archetype ` version `2.0.1`. Please make sure to use `de.averbis.textanalysis:pear-archetype ` version >= `2.0.1` for generating new PEAR projects.\n\n- Existing maven PEAR projects can be patched by manually upgrading to `log4j` >= `2.16.0` in `pom.xml`.\n\n\n### References\nhttps://www.lunasec.io/docs/blog/log4j-zero-day/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/averbis/pear-archetype/issues\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "de.averbis.textanalysis:pear-archetype"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.1"
} ]
} ],
"versions" : [ "2.0.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/averbis/pear-archetype/security/advisories/GHSA-j7c3-96rf-jrrp"
}, {
"type" : "WEB",
"url" : "https://github.com/averbis/pear-archetype/commit/6815f5981c836ab8c345a6ff54f29e9f4b67f7eb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/averbis/pear-archetype"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-12-16T18:57:47Z",
"nvd_published_at" : null
}
}