Bug 746620 (CVE-2011-3149) - CVE-2011-3149 pam (pam_env): Infinite loop by expanding certain arguments
Summary: CVE-2011-3149 pam (pam_env): Infinite loop by expanding certain arguments
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-3149
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 748817 865990
Blocks: 746631 855229
TreeView+ depends on / blocked
 
Reported: 2011-10-17 10:06 UTC by Jan Lieskovsky
Modified: 2023-05-12 11:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-22 04:34:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0521 0 normal SHIPPED_LIVE Moderate: pam security, bug fix, and enhancement update 2013-02-20 21:28:50 UTC

Description Jan Lieskovsky 2011-10-17 10:06:56 UTC
An infinite loop flaw was found in the way the pam_env module of PAM (Pluggable Authentication Modules) security tool expanded certain environment variables, when both pam_env module and reading of the user specific environment file were enabled. A local attacker could use this flaw to cause the pam_env module check to enter the infinite loop and spam system log file of the particular host.

Comment 1 Jan Lieskovsky 2011-10-17 10:17:05 UTC
Acknowledgements:

Red Hat would like to thank Kees Cook of Google ChromeOS Team for reporting
this issue.

Comment 8 Huzaifa S. Sidhpurwala 2011-10-18 05:17:01 UTC
Reading of user-supplied environment files is disabled by default in the pam package versions, as shipped with various releases of Red Hat Enterprise Linux and Fedora, more information at:

https://bugzilla.redhat.com/show_bug.cgi?id=746619#c9

Comment 12 Huzaifa S. Sidhpurwala 2011-10-19 10:53:53 UTC
This issue does not affect the version of the pam package, as shipped with
Red Hat Enterprise Linux 4 and 5, because they do not support reading user specific environment file via ~/.pam_environment

This issue affects the version of the pam package, as shipped with Red Hat
Enterprise Linux 6.

This issue affects the version of pam package, as shipped with Fedora 14 and 15.

Comment 13 Huzaifa S. Sidhpurwala 2011-10-21 04:48:06 UTC
Statement:

This issue did not affect the versions of pam package as shipped with Red Hat Enterprise Linux 4 and 5.

Comment 15 Jan Lieskovsky 2011-10-25 13:03:36 UTC
Created pam tracking bugs for this issue

Affects: fedora-all [bug 748817]

Comment 17 errata-xmlrpc 2013-02-21 10:36:40 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0521 https://rhn.redhat.com/errata/RHSA-2013-0521.html


Note You need to log in before you can comment on or make changes to this bug.