Vulnerabilities in pkg:maven/de.averbis.textanalysis/pear-archetype

PACKAGE
Advisory Summary

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

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/de.averbis.textanalysis/pear-archetype

1 Known Advisory Record(s)

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

CVE Identifier N/A
GHSA Identifier GHSA-j7c3-96rf-jrrp
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Pear archetype
Package Ecosystem Maven
Published Date
Last Updated

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.

de.averbis.textanalysis:pear-archetype fixed: 2.0.1
<dependency>
    <groupId>de.averbis.textanalysis</groupId>
    <artifactId>pear-archetype</artifactId>
    <version>2.0.1</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### Impact UIMA 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. ### Patches - 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. - Existing maven PEAR projects can be patched by manually upgrading to `log4j` >= `2.16.0` in `pom.xml`. ### References https://www.lunasec.io/docs/blog/log4j-zero-day/ ### For more information If you have any questions or comments about this advisory: * Open an issue in https://github.com/averbis/pear-archetype/issues

GHSA-j7c3-96rf-jrrp Affected Pear archetype Versions

1 component(s)
Fixed Versions:
2.0.1
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?
GHSA-j7c3-96rf-jrrp is a security vulnerability in Pear archetype involving Critical vulnerability in log4j may affect generated PEAR projects under General Security Weakness.
Which Pear archetype versions are affected?
Affected versions include releases prior to 2.0.1 across affected packages: de.averbis.textanalysis:pear-archetype.
What version fixes GHSA-j7c3-96rf-jrrp?
Upgrading to 2.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pear-archetype affected?
Yes, de.averbis.textanalysis:pear-archetype is affected in releases prior to 2.0.1. Upgrade your dependency to 2.0.1 or later.
What CWE is associated with GHSA-j7c3-96rf-jrrp?
GHSA-j7c3-96rf-jrrp is classified under General Security Weakness.
How can I check Maven dependencies for GHSA-j7c3-96rf-jrrp?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=de.averbis.textanalysis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}