{"id":"CVE-2024-47197","aliases":["GHSA-2qq7-fch2-phqf"],"url":"https://o3.security/vulnerability/CVE-2024-47197","summary":"Maven Archetype Plugin: Maven Archetype integration-test may package local settings into the published artifact, possibly containing credentials","details":"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.","published":"2024-09-26T08:01:24.486Z","modified":"2026-08-12T03:51:33.735221621Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.maven.plugins:maven-archetype-plugin","fixedVersion":"3.3.0"}],"fix":null,"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/09/26/2"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47197.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/ftg81np183wnyk0kg4ks95dvgxdrof96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47197"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:33.735221621Z"}}