CVE-2011-4099 Security feature bypass in n/a

Medium 4.6 Published Updated

Local users can bypass chroot restrictions in the capsh program by exploiting a missing directory change, potentially escaping the sandbox.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4099?

CVE-2011-4099 is a medium-severity vulnerability in n/a, published on 8 Feb 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The capsh program in libcap before 2.22 does not change the current working directory when the --chroot option is specified, which allows local users to bypass the chroot restrictions via unspecified vectors.

Weakness: CWE-264

Which versions are affected by CVE-2011-4099?

It affects 1 product.

Linux distribution packages (12)
libcap Red Hat:enterprise_linux:6::clientAll versions0:2.16-5.5.el6
libcap-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:2.16-5.5.el6
libcap-devel Red Hat:enterprise_linux:6::clientAll versions0:2.16-5.5.el6
libcap Red Hat:enterprise_linux:6::computenodeAll versions0:2.16-5.5.el6
libcap-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:2.16-5.5.el6
libcap-devel Red Hat:enterprise_linux:6::computenodeAll versions0:2.16-5.5.el6
libcap Red Hat:enterprise_linux:6::serverAll versions0:2.16-5.5.el6
libcap-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:2.16-5.5.el6
libcap-devel Red Hat:enterprise_linux:6::serverAll versions0:2.16-5.5.el6
libcap Red Hat:enterprise_linux:6::workstationAll versions0:2.16-5.5.el6
libcap-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:2.16-5.5.el6
libcap-devel Red Hat:enterprise_linux:6::workstationAll versions0:2.16-5.5.el6

Products include Libcap Libcap.

How do I fix CVE-2011-4099?

Upgrade to a fixed version.

Is CVE-2011-4099 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-4099, GHSA-5467-hwqm-9669, RHSA-2011:1694.

Is CVE-2011-4099 in your software?

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

Check your SBOMs for free