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

    Threat Intelligence

    EPSS
    0.06% (25th 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 ID SNYK-JAVA-ORGAPACHEMAVENPLUGINS-8097317
  • published 26 Sep 2024
  • disclosed 26 Sep 2024
  • credit Niels Basjes

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
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None