CVE Vulnerabilities

CVE-2017-1000369

Improper Resource Shutdown or Release

Published: Jun 19, 2017 | Modified: Nov 21, 2024
CVSS 3.x
4
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
2.9 LOW
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM

Exim supports the use of multiple -p command line arguments which are malloc()ed and never free()ed, used in conjunction with other issues allows attackers to cause arbitrary code execution. This affects exim version 4.89 and earlier. Please note that at this time upstream has released a patch (commit 65e061b76867a9ea7aeeb535341b790b90ae6c21), but it is not known if a new point release is available that addresses this issue at this time.

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

Name Vendor Start Version End Version
Exim Exim * 4.87.1 (including)
Exim Exim 4.88 (including) 4.88 (including)
Exim Exim 4.88-rc1 (including) 4.88-rc1 (including)
Exim Exim 4.88-rc2 (including) 4.88-rc2 (including)
Exim Exim 4.88-rc3 (including) 4.88-rc3 (including)
Exim Exim 4.88-rc4 (including) 4.88-rc4 (including)
Exim Exim 4.88-rc5 (including) 4.88-rc5 (including)
Exim Exim 4.88-rc6 (including) 4.88-rc6 (including)
Exim Exim 4.89 (including) 4.89 (including)
Exim Exim 4.89-rc1 (including) 4.89-rc1 (including)
Exim Exim 4.89-rc2 (including) 4.89-rc2 (including)
Exim Exim 4.89-rc3 (including) 4.89-rc3 (including)
Exim Exim 4.89-rc4 (including) 4.89-rc4 (including)
Exim Exim 4.89-rc5 (including) 4.89-rc5 (including)
Exim Exim 4.89-rc6 (including) 4.89-rc6 (including)
Exim Exim 4.89-rc7 (including) 4.89-rc7 (including)
Exim4 Ubuntu devel *
Exim4 Ubuntu trusty *
Exim4 Ubuntu xenial *
Exim4 Ubuntu yakkety *
Exim4 Ubuntu zesty *

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References