Lucene search

K
freebsdFreeBSD66657BD5-AC92-11DD-B541-001F3B19D541
HistorySep 05, 2008 - 12:00 a.m.

emacs -- run-python vulnerability

2008-09-0500:00:00
vuxml.freebsd.org
8

7.2 High

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

5.1%

Emacs developers report:

The Emacs command `run-python’ launches an interactive
Python interpreter. After the Python process starts up,
Emacs automatically sends it the line:
import emacs
which normally imports a script named emacs.py which is
distributed with Emacs. This script, which is typically
located in a write-protected installation directory with
other Emacs program files, defines various functions to help
the Python process communicate with Emacs.
The vulnerability arises because Python, by default,
prepends ‘’ to the module search path, so modules are looked
for in the current directory. If the current directory is
world-writable, an attacker may insert malicious code by
adding a fake Python module named emacs.py into that
directory.

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchemacs= 22UNKNOWN
FreeBSDanynoarchemacs<= 22.2_1UNKNOWN

7.2 High

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

5.1%

Related for 66657BD5-AC92-11DD-B541-001F3B19D541