{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-47197","id":"CVE-2024-47197","title":"Maven Archetype Plugin: Maven Archetype integration-test may package local settings into the published artifact, possibly containing credentials","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 fi","descriptionLong":"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","updated":"2026-10-28T02:31:08.253269066Z","reserved":"2024-09-20T20:04:10.889Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"low","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Maven Archetype Plugin"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Maven Archetype Plugin","defaultStatus":"unaffected","versions":[{"lessThan":"3.3.0","status":"affected","version":"3.2.1","versionType":"semver"}],"platforms":[]}],"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"],"advisory":"GHSA-2qq7-fch2-phqf"}],"cwes":["CWE-200","CWE-922"],"aliases":["GHSA-2qq7-fch2-phqf"],"references":[{"url":"https://lists.apache.org/thread/ftg81np183wnyk0kg4ks95dvgxdrof96","tags":["vendor-advisory","Mailing List","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/09/26/2","tags":["web"]},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47197.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47197","tags":["advisory"]},{"url":"https://github.com/apache/maven-archetype/pull/188","tags":["web"]},{"url":"https://github.com/apache/maven-archetype/commit/484b6ab946f0d7ce557a3df28615d8c51e500054","tags":["web"]},{"url":"https://github.com/apache/maven-archetype","tags":["package"]},{"url":"https://issues.apache.org/jira/browse/ARCHETYPE-657","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00839,"epssPercentile":0.58586,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-47197","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47197","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-47197","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2qq7-fch2-phqf","ok":true,"note":"GHSA-2qq7-fch2-phqf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-47197","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}