cve.bz

CVE-2024-3044 Code Injection

6.5 mediumEPSS 1.0%

Medium (6.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
Unchecked script execution in Graphic on-click binding in affected LibreOffice versions allows an attacker to create a document which without prompt will execute scripts built-into LibreOffice on clicking a graphic. Such scripts were previously deemed trusted but are now deemed untrusted.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-356 Missing User Interaction for Potentially Unsafe Action
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-3044 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-3044?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-3044?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-3044 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Document Foundation LibreOfficefrom 7.6 before 7.6.7
The Document Foundation LibreOfficefrom 24.2 before 24.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libreoffice1:6.1.5-3+deb10u12DLA-3821-1
Debian11libreoffice1:7.0.4-4+deb11u9DSA-5690-1
Debian12libreoffice4:7.4.7-1+deb12u2DEBIAN-CVE-2024-3044 DSA-5690-1
Debian13, 14libreoffice4:24.2.3~rc1-2DEBIAN-CVE-2024-3044
Ubuntu20.04:LTSlibreoffice1:6.4.7-0ubuntu0.20.04.10UBUNTU-CVE-2024-3044 USN-6789-1
Ubuntu22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.5UBUNTU-CVE-2024-3044 USN-6789-1
Ubuntu24.04:LTSlibreoffice4:24.2.3-0ubuntu0.24.04.2UBUNTU-CVE-2024-3044 USN-6789-1
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 186 more1:6.4.7.2-17.el8_10RHSA-2024:4242
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:6.4.7.2-17.el8_10RHSA-2024:4242
Red Hatenterprise_linux:9::appstreamautocorr-af, autocorr-bg, autocorr-ca and 193 more1:7.1.8.1-13.el9_4RHSA-2024:4755
Red Hatenterprise_linux:9::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:7.1.8.1-13.el9_4RHSA-2024:4755
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Workstation Extension 15 SP5 and 1 morelibreoffice24.2.4.2-150500.20.6.5SUSE-SU-2024:2257-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5libreoffice24.2.4.2-48.59.3SUSE-SU-2024:2258-1
openSUSELeap 15.5, Leap 15.6libreoffice24.2.4.2-150500.20.6.5SUSE-SU-2024:2257-1
AlmaLinux8autocorr-af, autocorr-bg, autocorr-ca and 169 more1:6.4.7.2-17.el8_10.alma.1ALSA-2024:4242
AlmaLinux9autocorr-af, autocorr-bg, autocorr-ca and 176 more1:7.1.8.1-13.el9_4.alma.1ALSA-2024:4755
Rocky Linux8libreoffice1:6.4.7.2-17.el8_10RLSA-2024:4242
Alpinev3.19, v3.20, v3.21 and 3 morelibreoffice7.6.7.2-r0ALPINE-CVE-2024-3044
Alpaquita23, streamlibreoffice-headless7.6.7.2-r0BELL-CVE-2024-3044

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

CVE-2024-3044 poses a Moderate severity risk due to its potential to enable unauthorized script execution within LibreOffice documents. While the vulnerability allows for the execution of untrusted scripts upon clicking graphics, it requires user interaction to initiate. Furthermore, the impact is constrained by the user's explicit macro execution permissions, determined at document load time. Although the flaw could lead to unintended script execution, its impact is mitigated by the necessity for user interaction and the reliance on explicit macro permissions.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreoffice-1:6.4.7.2-17.el8_10Fixed 2024-07-02RHSA-2024:4242
Red Hat Enterprise Linux 9libreoffice-1:7.1.8.1-13.el9_4Fixed 2024-07-23RHSA-2024:4755
Red Hat Enterprise Linux 6libreofficeOut of support scope
Red Hat Enterprise Linux 7libreofficeOut of support scope
Red Hat Enterprise Linux 8libreoffice:flatpak/libreofficeWill not fix
Red Hat Enterprise Linux 9libreoffice:flatpak/libreofficeWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-3044.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON