Access Restriction Bypass Affecting libcap2 package, versions <1:2.22-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.38% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBCAP2-18234805
  • published23 Jul 2026
  • disclosed8 Feb 2014

Introduced: 8 Feb 2014

CVE-2011-4099  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Echo:latest libcap2 to version 1:2.22-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcap2 package and not the libcap2 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1