passwd contains an implementation flaw that may allow a local denial of service. The issue is triggered when the 'passwd' command is used in an environment with a very small ulimit value. If /etc/passwd is larger than the ulimit, use of the 'passwd' command will result in a truncated /etc/passwd file. If ulimit was set to 0 the /etc/passwd file will be empty, which will invalidate all password authentication attempts, and result in a loss of availability.
Classification
Location:
Local Access Required
Attack Type:
Authentication Management
Impact:
Loss of Availability
Exploit:
Exploit Public
Disclosure:
OSVDB Verified
Solution
Modern implementations of the 'passwd' utility perform adequate checks to avoid this vulnerabilitu. Refer to the vendor documentation for specific version numbers. An upgrade is required as there are no known workarounds.
We currently have no CVSS2 data on this vulnerability. Feel free to suggest it.
Blogs
This product uses the Daylife API but is not endorsed or certified by Daylife.
This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.