portage-ng / portage / sci-mathematics / gimps / 30.8.15
portage-ng glsa
1 advisory reference sci-mathematics/gimps · none place version 30.8.15 in a vulnerable range
▸ GLSA 201709-11 GIMPS: Root privilege escalation this version unaffected high local 2017-09-17

Gentoo's GIMPS ebuilds are vulnerable to privilege escalation due to improper permissions. A local attacker could use it to gain root privileges.

Announced
2017-09-17
Revised
2017-09-17
Access
local
Bugs
#603408
Advisory
https://security.gentoo.org/glsa/201709-11

Affected packages

PackageArchVulnerableUnaffected
sci-mathematics/gimps*< 28.10-r1>= 28.10-r1

Background

GIMPS, the Great Internet Mersenne Prime Search, is a software capable of find Mersenne Primes, which are used in cryptography. GIMPS is also used for hardware testing.

Description

It was discovered that Gentoo’s default GIMPS installation suffered from a privilege escalation vulnerability in the init script. This script calls an unsafe “chown -R” command in checkconfig() function.

Impact

A local attacker who does not belong to the root group, but has the ability to modify the /var/lib/gimps directory can escalate privileges to the root group.

Workaround

There is no known workaround at this time.

Resolution

All GIMPS users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sci-mathematics/gimps-28.10-r1"

References