Bug 2171989 (CVE-2022-48339) - CVE-2022-48339 emacs: command injection vulnerability in htmlfontify.el
Summary: CVE-2022-48339 emacs: command injection vulnerability in htmlfontify.el
Keywords:
Status: NEW
Alias: CVE-2022-48339
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2171990 2175177 2175178 2175179 2184368
Blocks: 2171978
TreeView+ depends on / blocked
 
Reported: 2023-02-21 06:23 UTC by TEJ RATHI
Modified: 2024-03-19 17:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2626 0 None None None 2023-05-09 11:04:11 UTC
Red Hat Product Errata RHSA-2023:3481 0 None None None 2023-06-06 13:10:33 UTC
Red Hat Product Errata RHSA-2023:7083 0 None None None 2023-11-14 15:21:38 UTC
Red Hat Product Errata RHSA-2024:1103 0 None None None 2024-03-05 17:05:25 UTC
Red Hat Product Errata RHSA-2024:1408 0 None None None 2024-03-19 17:29:35 UTC

Description TEJ RATHI 2023-02-21 06:23:43 UTC
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.

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c

Comment 1 TEJ RATHI 2023-02-21 06:24:11 UTC
Created emacs tracking bugs for this issue:

Affects: fedora-all [bug 2171990]

Comment 3 errata-xmlrpc 2023-05-09 11:04:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2626 https://access.redhat.com/errata/RHSA-2023:2626

Comment 4 errata-xmlrpc 2023-06-06 13:10:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2023:3481 https://access.redhat.com/errata/RHSA-2023:3481

Comment 6 errata-xmlrpc 2023-11-14 15:21:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7083 https://access.redhat.com/errata/RHSA-2023:7083

Comment 8 errata-xmlrpc 2024-03-05 17:05:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:1103 https://access.redhat.com/errata/RHSA-2024:1103

Comment 9 errata-xmlrpc 2024-03-19 17:29:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:1408 https://access.redhat.com/errata/RHSA-2024:1408


Note You need to log in before you can comment on or make changes to this bug.