Insecure Storage of Sensitive Information Affecting org.apache.maven.plugins:maven-archetype-plugin package, versions [3.2.1,3.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (26th 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-JAVA-ORGAPACHEMAVENPLUGINS-8097317
  • published26 Sept 2024
  • disclosed26 Sept 2024
  • creditNiels Basjes

Introduced: 26 Sep 2024

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

How to fix?

Upgrade org.apache.maven.plugins:maven-archetype-plugin to version 3.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Storage of Sensitive Information due to the insecure storage of sensitive information in the archetype-settings.xml file. An attacker can access sensitive data, such as credentials, by obtaining the published artifact that inadvertently includes this file.

Note:

This is only exploitable if the developer runs mvn verify again without a mvn clean, leading to the inclusion of sensitive files in the final artifact.

CVSS Scores

version 4.0
version 3.1