File and Directory Information Exposure Affecting org.apache.maven.plugins/maven-archetype-plugin package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.84% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-ORGAPACHEMAVENPLUGINSMAVENARCHETYPEPLUGIN-8102646
  • published27 Sept 2024
  • disclosed26 Sept 2024

Introduced: 26 Sep 2024

CVE-2024-47197  (opens in a new tab)
CWE-538  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 org.apache.maven.plugins/maven-archetype-plugin.

NVD Description

Note: Versions mentioned in the description apply only to the upstream org.apache.maven.plugins/maven-archetype-plugin package and not the org.apache.maven.plugins/maven-archetype-plugin package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Exposure of Sensitive Information to an Unauthorized Actor, Insecure Storage of Sensitive Information vulnerability in Maven Archetype Plugin.

This issue affects Maven Archetype Plugin: from 3.2.1 before 3.3.0.

Users are recommended to upgrade to version 3.3.0, which fixes the issue.

Archetype integration testing creates a file called ./target/classes/archetype-it/archetype-settings.xml This file contains all the content from the users ~/.m2/settings.xml file, which often contains information they do not want to publish. We expect that on many developer machines, this also contains credentials.

When the user runs mvn verify again (without a mvn clean), this file becomes part of the final artifact.

If a developer were to publish this into Maven Central or any other remote repository (whether as a release or a snapshot) their credentials would be published without them knowing.

CVSS Base Scores

version 3.1