{"cve":"CVE-2024-47197","nvd":{"published":"2024-09-26T08:15:06.587","modified":"2026-06-17T07:56:43.520","status":"Modified","description":"Exposure of Sensitive Information to an Unauthorized Actor, Insecure Storage of Sensitive Information vulnerability in Maven Archetype Plugin.\n\nThis issue affects Maven Archetype Plugin: from 3.2.1 before 3.3.0.\n\nUsers are recommended to upgrade to version 3.3.0, which fixes the issue.\n\nArchetype integration testing creates a file\ncalled ./target/classes/archetype-it/archetype-settings.xml\nThis file contains all the content from the users ~/.m2/settings.xml file,\nwhich often contains information they do not want to publish. We expect that on many developer machines, this also contains\ncredentials.\n\nWhen the user runs mvn verify again (without a mvn clean), this file becomes part of\nthe final artifact.\n\nIf a developer were to publish this into Maven Central or any other remote repository (whether as a release\nor a snapshot) their credentials would be published without them knowing.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-922","CWE-200"],"references":["https://lists.apache.org/thread/ftg81np183wnyk0kg4ks95dvgxdrof96","http://www.openwall.com/lists/oss-security/2024/09/26/2"],"products":["apache:maven_archetype"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-47197","score":0.00839,"percentile":0.57836,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2qq7-fch2-phqf","url":"https://osv.dev/vulnerability/GHSA-2qq7-fch2-phqf","summary":"Maven Archetype Plugin: Maven Archetype integration-test may package local settings into the published artifact, possibly containing credentials","modified":"2025-03-17T21:35:01.474684Z","packages":[{"ecosystem":"Maven","name":"org.apache.maven.plugins:maven-archetype-plugin","purl":"pkg:maven/org.apache.maven.plugins/maven-archetype-plugin","ranges":[">=3.2.1 <3.3.0"],"fixed":["3.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}