CVE Vulnerabilities

CVE-2017-1000369

Improper Resource Shutdown or Release

Published: Jun 19, 2017 | Modified: Dec 12, 2019
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
Ubuntu

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.88 4.88
Exim Exim 4.89 4.89
Exim Exim * 4.87.1
Exim Exim 4.88 4.88
Exim Exim 4.88 4.88
Exim Exim 4.88 4.88
Exim Exim 4.88 4.88
Exim Exim 4.88 4.88
Exim Exim 4.88 4.88
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89
Exim Exim 4.89 4.89

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