CVE-2024-37301 document-merge-service vulnerable to Remote Code Execution via Server-Side Template Injection
HighCVSS 7.2
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
Document Merge Service is a document template merge service providing an API to manage templates and merge them with given data. Versions 6.5.1 and prior are vulnerable to remote code execution via server-side template injection which, when executed as root, can result in full takeover of the affected system. As of time of publication, no patched version exists, nor have any known workarounds been disclosed.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| adfinis document merge service | <= 6.5.1 | after 6.5.1 | Fixed |
| pypi document-merge-service(PyPI) | < 6.5.2; = 5.2.0; = 5.2.1; = 6.0.0 +17 more | 6.5.2 | Fixed |
| adfinis document-merge-service | = < 6.5.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi document-merge-service(PyPI) | < 6.5.2 | 6.5.2 |
| pypi document-merge-service(PyPI) | = 5.2.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 5.2.1 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.0.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.1.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.1.1 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.1.2 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.2.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.2.1 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.2.2 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.3.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.3.1 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.1 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.2 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.3 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.4 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.5 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.4.6 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.5.0 | No fix listed |
| pypi document-merge-service(PyPI) | = 6.5.1 | No fix listed |
| adfinis document-merge-service | = < 6.5.2 | No fix listed |
| adfinis document merge service | <= 6.5.1 | No fix listed |
References
- https://github.com/adfinis/document-merge-service/security/advisories/GHSA-v5gf-r78h-55q6 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/adfinis/document-merge-service/commit/a1edd39d33d1bdf75c31ea01c317547be90ca074 patch
- github.com product
- pypi.org product
- github.com vendor-advisory