CVE-2024-47197

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47197
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47197.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47197
Aliases
Related
Published
2024-09-26T08:15:06Z
Modified
2025-03-17T19:55:43.059578Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/apache/maven-archetype

Affected ranges

Type
GIT
Repo
https://github.com/apache/maven-archetype
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

maven-archetype-2.*

maven-archetype-2.3
maven-archetype-2.4

maven-archetype-3.*

maven-archetype-3.0.0
maven-archetype-3.0.1
maven-archetype-3.1.0
maven-archetype-3.1.1
maven-archetype-3.1.1_vote-1
maven-archetype-3.1.2
maven-archetype-3.2.0
maven-archetype-3.2.1