GLSA 201507-09: PyPAM: Arbitrary code execution

Severity:normal
Title:PyPAM: Arbitrary code execution
Date:07/09/2015
Bugs: #407603
ID:201507-09

Synopsis

A double free vulnerability in PyPAM could result in execution of arbitrary code or Denial of Service.

Background

PyPAM is a PAM binding for Python.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-python/pypam < 0.5.0-r3 >= 0.5.0-r3 All supported architectures

Description

PyPAM does not handle passwords correctly if there is NULL byte in the string.

Impact

A remote attacker could possibly execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PyPAM users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-python/pypam-0.5.0-r3"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201507-09.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!