CVE-2019-0194 Path Traversal in Apache Camel

High 7.5 Published Updated

Attackers can exploit a directory traversal flaw in Apache Camel's File component to read or modify files outside the intended directory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-0194?

CVE-2019-0194 is a high-severity path traversal vulnerability in Apache Camel, published on 30 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Camel's File is vulnerable to directory traversal. Camel 2.21.0 to 2.21.3, 2.22.0 to 2.22.2, 2.23.0 and the unsupported Camel 2.x (2.19 and earlier) versions may be also affected.

Weakness: CWE-22

Which versions are affected by CVE-2019-0194?

6 open source packages ship an affected version, including org.apache.camel:camel-core. It affects 1 product.

PackageAffectedFixed in
org.apache.camel:camel-core MavenFrom 2.21.02.21.5
org.apache.camel:camel-core MavenFrom 2.21.02.21.5
org.apache.camel:camel-core MavenFrom 2.22.02.22.3
org.apache.camel:camel-core MavenFrom 2.22.02.22.3
org.apache.camel:camel-core MavenFrom 2.23.02.23.1
org.apache.camel:camel-core MavenFrom 2.23.02.23.1

Products include Apache Camel.

How do I fix CVE-2019-0194?

Upgrade org.apache.camel:camel-core to a fixed version for your release line: 2.21.5, 2.22.3 or 2.23.1.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-0194 being exploited?

There is no known exploitation of CVE-2019-0194 in the wild and no public exploit code.

All Apache Camel vulnerabilities

Sources

Also known as GHSA-4wjq-69rc-8wcp.

Is CVE-2019-0194 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free