CVE-2024-32651 Server Side Template Injection in Jinja2 allows Remote Command Execution
CriticalCVSS 10.0
EPSS 93.0%
Framework module
Scanner template
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification service. There is a Server Side Template Injection (SSTI) in Jinja2 that allows Remote Command Execution on the server host. Attackers can run any system command without any restriction and they could use a reverse shell. The impact is critical as the attacker can completely takeover the server machine. This can be reduced if changedetection is behind a login page, but this isn't required by the application (not by default and not enforced).
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi changedetection-io(PyPI) | < 0.45.21; = 0.38.2; = 0.39; = 0.39.1 +77 more | 0.45.21 | Fixed |
| pypi changedetection.io(PyPI) | <= 0.45.20 | after 0.45.20 | Fixed |
| dgtlmoon changedetection.io | = 0.45.20; = <= 0.45.20 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi changedetection-io(PyPI) | < 0.45.21 | 0.45.21 |
| pypi changedetection-io(PyPI) | = 0.38.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.10 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.10.post1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.10.post2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.11 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.12 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.13 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.13.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.14 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.14.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.15 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.16 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.17 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.17.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.17.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.18 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.19 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.19.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.20 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.20.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.20.2 | No fix listed |
Show 59 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi changedetection-io(PyPI) | = 0.39.20.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.20.4 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.21 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.21.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.22 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.22.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.4 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.5 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.6 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.7 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.8 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.39.9 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.0 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.0.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.0.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.0.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.0.4 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.1.0 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.1.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.40.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.41 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.41.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.42 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.42.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.42.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.42.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.43.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.43.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.44 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.44.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.11 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.12 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.13 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.14 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.15 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.16 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.17 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.18 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.19 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.20 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.4 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.5 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.6 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.7 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.7.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.7.2 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.7.3 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.8 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.8.1 | No fix listed |
| pypi changedetection-io(PyPI) | = 0.45.9 | No fix listed |
| pypi changedetection.io(PyPI) | <= 0.45.20 | No fix listed |
| dgtlmoon changedetection.io | = <= 0.45.20 | No fix listed |
| dgtlmoon changedetection.io | = 0.45.20 | No fix listed |
References
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- blog.hacktivesecurity.com
- github.com product
- https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21
- github.com
- pypi.org product
- https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2
- github.com vendor-advisory