Loop with Unreachable Exit Condition ('Infinite Loop') Affecting pam-devel package, versions <0:1.1.1-13.el6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.53% (41st 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-RHEL6-PAMDEVEL-1456481
  • published26 Jul 2021
  • disclosed24 Oct 2011

Introduced: 24 Oct 2011

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

How to fix?

Upgrade RHEL:6 pam-devel to version 0:1.1.1-13.el6 or higher.
This issue was patched in RHSA-2013:0521.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam-devel package and not the pam-devel package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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).

CVSS Base Scores

version 3.1