CVE-2012-3386

The "make distcheck" rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants world-writable permissions to the extraction directory, which introduces a race condition that allows local users to execute arbitrary code via unspecified vectors.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gnu:automake:*:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.0:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p1:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p2:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p3:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p4:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p5:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.4:p6:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.5:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.6:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.6.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.6.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.6.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.5:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.6:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.7:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.8:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.7.9:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.8.5:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.5:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.9.6:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.10:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.10.0.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.10.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.10.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.10.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.11.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.11.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.11.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.11.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.12:*:*:*:*:*:*:*
cpe:2.3:a:gnu:automake:1.12.1:*:*:*:*:*:*:*

History

13 Feb 2023, 04:33

Type Values Removed Values Added
Summary It was found that the distcheck rule in Automake-generated Makefiles made a directory world-writable when preparing source archives. If a malicious, local user could access this directory, they could execute arbitrary code with the privileges of the user running "make distcheck". The "make distcheck" rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants world-writable permissions to the extraction directory, which introduces a race condition that allows local users to execute arbitrary code via unspecified vectors.
References
  • {'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=838286', 'name': 'https://bugzilla.redhat.com/show_bug.cgi?id=838286', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2013:0526', 'name': 'https://access.redhat.com/errata/RHSA-2013:0526', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2014:1243', 'name': 'https://access.redhat.com/errata/RHSA-2014:1243', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2012-3386', 'name': 'https://access.redhat.com/security/cve/CVE-2012-3386', 'tags': [], 'refsource': 'MISC'}

02 Feb 2023, 14:16

Type Values Removed Values Added
References
  • (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=838286 -
  • (MISC) https://access.redhat.com/errata/RHSA-2013:0526 -
  • (MISC) https://access.redhat.com/errata/RHSA-2014:1243 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2012-3386 -
Summary The "make distcheck" rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants world-writable permissions to the extraction directory, which introduces a race condition that allows local users to execute arbitrary code via unspecified vectors. It was found that the distcheck rule in Automake-generated Makefiles made a directory world-writable when preparing source archives. If a malicious, local user could access this directory, they could execute arbitrary code with the privileges of the user running "make distcheck".

Information

Published : 2012-08-07 21:55

Updated : 2023-12-10 11:16


NVD link : CVE-2012-3386

Mitre link : CVE-2012-3386

CVE.ORG link : CVE-2012-3386


JSON object : View

Products Affected

gnu

  • automake
CWE
CWE-264

Permissions, Privileges, and Access Controls

CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')