| Name | CVE-2008-3949 |
| Description | emacs/lisp/progmodes/python.el in Emacs 22.1 and 22.2 imports Python script from the current working directory during editing of a Python file, which allows local users to execute arbitrary code via a Trojan horse Python file. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 499568 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| xemacs21 (PTS) | bullseye | 21.4.24-9 | fixed |
| bookworm | 21.4.24-11 | fixed |
| sid | 21.4.24-12 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| emacs21 | source | (unstable) | (not affected) | | | |
| emacs22 | source | (unstable) | 22.2+2-4 | low | | 499568 |
| xemacs21 | source | (unstable) | (not affected) | | | |
Notes
- emacs21 <not-affected> (doesn't provide the python functionality)
- xemacs21 <not-affected> (doesn't provide the python functionality)
This can happen with any Python script, just because Emacs autoloads one
doesn't make it much worse