Stack-based Buffer Overflow Affecting pam package, versions <0:1.1.1-13.el6


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.7% (48th 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-PAM-1455018
  • published26 Jul 2021
  • disclosed24 Oct 2011

Introduced: 24 Oct 2011

CVE-2011-3148  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:6 pam 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 package and not the pam package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux-PAM (aka pam) before 1.1.5 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long string of white spaces at the beginning of the ~/.pam_environment file.

CVSS Base Scores

version 3.1