Out-of-Bounds Affecting linux-pam/linux-pam package, versions [,1.1.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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-UNMANAGED-LINUXPAMLINUXPAM-2318994
  • published14 Dec 2021
  • disclosed22 Jul 2012
  • creditUnknown

Introduced: 22 Jul 2012

CVE-2011-3149  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade linux-pam/linux-pam to version 1.1.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The _expand_arg function in the pam_env module (modules/pam_env/pam_env.c) in Linux-PAM (aka pam) before 1.1.5 does not properly handle when environment variable expansion can overflow, which allows local users to cause a denial of service (CPU consumption).

References

CVSS Scores

version 3.1