CVE-2011-4099: Medium severity libcap vulnerability

Published Jul 16, 2011
·
Updated

Description of problem: The capsh program has a --chroot commandline option. Inspecting the code shows that it does not do a chdir("/") after calling chroot. This means that '.' is outside the chroot.

Additional info: http://cwe.mitre.org/data/definitions/243.html

Other sources

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.

MITRE

Affected Software

22 affected components
libcap libcap<=2.21
libcap libcap=2.00
libcap libcap=2.01
libcap libcap=2.02
libcap libcap=2.03
libcap libcap=2.04
libcap libcap=2.05
libcap libcap=2.06
libcap libcap=2.07
libcap libcap=2.08
libcap libcap=2.09
libcap libcap=2.10
libcap libcap=2.11
libcap libcap=2.12
libcap libcap=2.13
libcap libcap=2.14
libcap libcap=2.15
libcap libcap=2.16
libcap libcap=2.17
libcap libcap=2.18
libcap libcap=2.19
libcap libcap=2.20

Event History

Jul 16, 2011
Data Sourced
04:51 PM
DescriptionSeverityAffected Software
Feb 8, 2014
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-4099?

CVE-2011-4099 has a moderate severity level as it exposes the system to potential privilege escalation.

2

How do I fix CVE-2011-4099?

To fix CVE-2011-4099, update the libcap package to version 2.21 or later where the issue has been resolved.

3

What software is affected by CVE-2011-4099?

CVE-2011-4099 affects specific versions of the libcap package, including versions 2.00 to 2.20.

4

What is the impact of CVE-2011-4099?

The impact of CVE-2011-4099 is that an unprivileged user can potentially escape from a chroot environment.

5

Is CVE-2011-4099 a code vulnerability?

Yes, CVE-2011-4099 is a code vulnerability due to the improper handling of the chroot system call.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203