CVE Vulnerabilities

CVE-2024-30204

Incorrect Default Permissions

Published: Mar 25, 2024 | Modified: May 01, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

NameVendorStart VersionEnd Version
EmacsGnu*29.3 (excluding)
Red Hat Enterprise Linux 9RedHatemacs-1:27.2-10.el9*
EmacsUbuntuesm-apps/focal*
EmacsUbuntuesm-apps/jammy*
EmacsUbuntufocal*
EmacsUbuntujammy*
EmacsUbuntumantic*
Emacs24Ubuntuesm-infra/xenial*
Emacs25Ubuntuesm-infra/bionic*
Xemacs21Ubuntufocal*
Xemacs21Ubuntumantic*
Xemacs21Ubuntuoracular*
Xemacs21Ubuntuplucky*
Xemacs21Ubuntuupstream*
Xemacs21-packagesUbuntufocal*
Xemacs21-packagesUbuntumantic*
Xemacs21-packagesUbuntuoracular*
Xemacs21-packagesUbuntuplucky*

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References