HIGH 8.8

CVE-2018-11786

Improper Privilege Management in Apache Karaf

Description

In Apache Karaf prior to 4.2.0 release, if the sshd service in Karaf is left on so an administrator can manage the running instance, any user with rights to the Karaf console can pivot and read/write any file on the file system to which the Karaf process user has access. This can be locked down a bit by using chroot to change the root directory to protect files outside of the Karaf install directory; it can be further locked down by defining a security manager policy that limits file system access to those directories beneath the Karaf home that are necessary for the system to run. However, this still allows anyone with ssh access to the Karaf process to read and write a large number of files as the Karaf process user.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.karaf » apache-karaf
< 4.2.0
4.2.0

Blast radius

1affected artifacts
575affected versions
105dependent artifacts (est.)
2,852dependent versions

51% of the dependent artifacts (54) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,548
2 hops
969
3 hops
266
4 hops
49
5 hops
20

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.