Server side template injection In emacs
Description
An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 1:28.2+1-11 | ||
debian 13 | 1:28.2+1-11 | ||
debian 11 | 1:27.1+1-3.1+deb11u2 | ||
debian 14 | 1:28.2+1-11 | ||
rpm rhel8.8 | 1:26.1-10.el8_8.4 | ||
rpm rhel9 | 1:27.2-8.el9_2.1 | ||
rpm rhel8.6 | 1:26.1-7.el8_6.3 | ||
rpm rhel7 | 1:24.3-23.el7_9.1 | ||
rpm rhel6 | - | - | |
rpm rhel8 | 1:26.1-11.el8 |
Aliases
1. 2. 3. 4. 5.