Bug 1284642 (CVE-2015-7510)

Summary: CVE-2015-7510 systemd: Stack overflow in nss-mymachines
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cbuissar, fweimer, osoukup, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-13 09:37:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1284825    
Bug Blocks: 1284643    

Description Adam Mariš 2015-11-23 17:59:48 UTC
A stack-based buffer overflow vulnerability was found in getpwnam()/getgrnam() functions of NSS module nss-mymachines provided by systemd.

Comment 3 Adam Mariš 2015-11-24 09:57:10 UTC
Public via:

https://github.com/systemd/systemd/issues/2002

Comment 4 Adam Mariš 2015-11-24 09:59:34 UTC
Created systemd tracking bugs for this issue:

Affects: fedora-all [bug 1284825]

Comment 6 Cedric Buissart 2016-01-13 09:37:40 UTC
The bug was introduced with the _nss_mymachines_getpwnam_r() & _nss_mymachines_getgrnam_r() functions, in v223.
RHEL7 is currently shipping older versions, and thus is not vulnerable.

Statement:

This issue did not affect the versions of systemd as shipped with Red Hat Enterprise Linux 7.