WaratekVRT Sign in

CVE-2018-8041 Apache Camel

Affected softwareApache Camel
Severity5.3 Medium CVSS 3.0 2 scores
Fixed in2.20.4, 2.21.2, 2.22.1
WeaknessPath traversal (CWE-22)
Published17 Sep 2018
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 9.6% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2018-8041

Upgrade Apache Camel to a release that fixes it: 2.20.4, 2.21.2 or 2.22.1. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.3 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 5.3 MEDIUM CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.camel:camel-mail 2.20.0 2.20.4 unbounded
org.apache.camel:camel-mail 2.21.0 2.21.2 unbounded
org.apache.camel:camel-mail 2.22.0 2.22.1 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache camel generic ≥ 2.20.0 and ≤ 2.20.3 · ≥ 2.21.0 and ≤ 2.21.1 · 2.22.0
osv org.apache.camel camel-mail generic ≥ 2.20.0 and < 2.20.4 · ≥ 2.21.0 and < 2.21.2 · ≥ 2.22.0 and < 2.22.1

References

URLTags
https://github.com/apache/camel/commit/4580e4d6c65cfd544c1791c824b5819477c583cc WEB
https://github.com/apache/camel/commit/4f401c09d22c45c94fa97746dc31905e06b19e3 WEB
https://github.com/apache/camel/commit/63c7c080de4d18f9ceb25843508710df2c2c6d4 WEB
https://github.com/apache/camel/commit/a0d25d9582c6ee85e9567fa39413df0b4f02ef7 WEB
https://access.redhat.com/errata/RHSA-2018:3768 WEB
https://github.com/advisories/GHSA-jv74-f9pj-xp3f ADVISORY
https://github.com/apache/camel PACKAGE
https://issues.apache.org/jira/browse/CAMEL-12630 WEB
https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E WEB
https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E WEB

Timeline

Published2018-09-17By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.