Unintended Publishing of Sensitive Information in Maven Artifact
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2024-47197
- Vendor
- CVE Published:
- 26 September 2024
- Fixed in
- Fixed in:
- 3.3.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Maven Archetype Plugin. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2024-47197?
A vulnerability has been identified in the Maven Archetype Plugin, where sensitive information may be exposed to unauthorized actors due to insecure storage practices. Specifically, the plugin creates an 'archetype-settings.xml' file under './target/classes/archetype-it/' during integration testing. This file inadvertently includes the complete contents of the user's '~/.m2/settings.xml' file, which often contains sensitive data, such as user credentials. If the user subsequently executes the 'mvn verify' command without running 'mvn clean', this sensitive file can be bundled into the final artifact. As a result, developers may unintentionally publish their credentials to Maven Central or other repositories, compromising their security. It is strongly recommended to upgrade to version 3.3.0 of the Maven Archetype Plugin, which addresses this vulnerability.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction