CVE-2024-45313
CVE-2024-45313 is a medium-severity vulnerability in Overleaf with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1188.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 0% (26th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-41434
- Weakness: CWE-1188
- Affected product: Overleaf
- Published:
- Last modified:
Description
Overleaf is a web-based collaborative LaTeX editor. When installing Server Pro using the Overleaf Toolkit from before 2024-07-17 or legacy docker-compose.yml from before 2024-08-28, the configuration for LaTeX compiles was insecure by default, requiring the administrator to enable the security features via a configuration setting (`SIBLING_CONTAINERS_ENABLED` in Toolkit, `SANDBOXED_COMPILES` in legacy docker-compose/custom deployments). If these security features are not enabled then users have access to the `sharelatex` container resources (filesystem, network, environment variables) when running compiles, leading to multiple file access vulnerabilities, either directly or via symlinks created during compiles. The setting has now been changed to be secure by default for new installs in the Toolkit and legacy docker-compose deployment. The Overleaf Toolkit has been updated to set `SIBLING_CONTAINERS_ENABLED=true` by default for new installs. It is recommended that any existing installations using the previous default setting migrate to using sibling containers. Existing installations can set `SIBLING_CONTAINERS_ENABLED=true` in `config/overleaf.rc` as a mitigation. In legacy docker-compose/custom deployments `SANDBOXED_COMPILES=true` should be used.
Frequently asked questions
- What is CVE-2024-45313?
- Overleaf is a web-based collaborative LaTeX editor. When installing Server Pro using the Overleaf Toolkit from before 2024-07-17 or legacy docker-compose.yml from before 2024-08-28, the configuration for LaTeX compiles was insecure by default, requiring the administrator to enable the security features via a configuration setting (`SIBLING_CONTAINERS_ENABLED` in Toolkit, `SANDBOXED_COMPILES` in legacy docker-compose/custom deployments). If these security features are not enabled then users have access to the `sharelatex` container resources (filesystem, network, environment variables) when running compiles, leading to multiple file access vulnerabilities, either directly or via symlinks created during compiles. The setting has now been changed to be secure by default for new installs in the Toolkit and legacy docker-compose deployment. The Overleaf Toolkit has been updated to set `SIBLING_CONTAINERS_ENABLED=true` by default for new installs. It is recommended that any existing installations using the previous default setting migrate to using sibling containers. Existing installations can set `SIBLING_CONTAINERS_ENABLED=true` in `config/overleaf.rc` as a mitigation. In legacy docker-compose/custom deployments `SANDBOXED_COMPILES=true` should be used.
- How severe is CVE-2024-45313?
- CVE-2024-45313 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-45313 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (26th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-45313?
- CVE-2024-45313 primarily affects Overleaf. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-45313?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-45313 have an EU (EUVD) identifier?
- Yes. CVE-2024-45313 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-41434.
- When was CVE-2024-45313 published?
- CVE-2024-45313 was published on 2024-09-02 and last updated on 2026-06-17.
References
- https://github.com/overleaf/overleaf/security/advisories/GHSA-m95q-g8qg-wgj4
- https://github.com/overleaf/overleaf/wiki/Server-Pro:-Sandboxed-Compiles
- https://github.com/overleaf/toolkit/blob/master/doc/sandboxed-compiles.md#enabling-sibling-containers
- https://github.com/overleaf/toolkit/commit/7a8401897b24777b47338452ff8d12e2fb6dd5ff
Affected products (2)
- cpe:2.3:a:overleaf:overleaf:*:*:*:*:server_pro:*:*:*
- cpe:2.3:a:overleaf:overleaf:*:*:*:*:*:*:*:*
More vulnerabilities in Overleaf
- CVE-2024-45312 — Medium (CVSS 5.3): Overleaf is a web-based collaborative LaTeX editor. Overleaf Community Edition and Server Pro prior to version 5.0.7…
Other CWE-1188 (Insecure Default Initialization of Resource) vulnerabilities
- CVE-2026-31957 — Critical (CVSS 10.0): Himmelblau is an interoperability suite for Microsoft Azure Entra ID and Intune. From 3.0.0 to before 3.1.0, if…
- CVE-2025-41672 — Critical (CVSS 10.0): A remote unauthenticated attacker may use default certificates to generate JWT Tokens and gain full access to the tool…
- CVE-2024-0001 — Critical (CVSS 10.0): A condition exists in FlashArray Purity whereby a local account intended for initial array configuration remains active…
- CVE-2024-2912 — Critical (CVSS 10.0): An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by…
- CVE-2021-34795 — Critical (CVSS 10.0): Multiple vulnerabilities in the web-based management interface of the Cisco Catalyst Passive Optical Network (PON)…
- CVE-2017-7964 — Critical (CVSS 10.0): Zyxel WRE6505 devices have a default TELNET password of 1234 for the root and admin accounts, which makes it easier for…
Browse all CWE-1188 (Insecure Default Initialization of Resource) vulnerabilities →