GLSA-201405-19 : MCrypt: User-assisted execution of arbitrary code

medium Nessus Plugin ID 74061

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201405-19 (MCrypt: User-assisted execution of arbitrary code)

Multiple vulnerabilities have been discovered in MCrypt:
A boundary error in MCrypt could cause a stack-based buffer overflow (CVE-2012-4409).
MCrypt contains multiple format string errors (CVE-2012-4426).
MCrypt does not properly handle long file names, which could cause a stack-based buffer overflow (CVE-2012-4527).
Impact :

A remote attacker could entice a user to open a specially crafted file using MCrypt, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All MCrypt users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-crypt/mcrypt-2.6.8-r2'

See Also

https://security.gentoo.org/glsa/201405-19

Plugin Details

Severity: Medium

ID: 74061

File Name: gentoo_GLSA-201405-19.nasl

Version: 1.6

Type: local

Published: 5/19/2014

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mcrypt, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/18/2014

Reference Information

CVE: CVE-2012-4409, CVE-2012-4426, CVE-2012-4527

BID: 55425, 55557, 56114

GLSA: 201405-19