diff --git a/docs/operators/security/CCSA-20261124-01.md b/docs/operators/security/CCSA-20261124-01.md new file mode 100644 index 0000000..7c506d2 --- /dev/null +++ b/docs/operators/security/CCSA-20261124-01.md @@ -0,0 +1,50 @@ +title: Upload2Shell ImageMagick/GhostScript Vulnerability +subtitle: CCSA-20261124-01 + +*Coop Cloud Security Advisory 20261124-01* + + +??? danger "Recipe known to be affected >" + + | Recipe | Update Status | Notes | + | --- | --- | --- | + | [loomio](https://git.coopcloud.tech/coop-cloud/loomio.git) | Pending | | + | [wallabag](https://git.coopcloud.tech/coop-cloud/wallabag.git) | Investigating | | + | [discourse](https://git.coopcloud.tech/coop-cloud/discourse.git) | Investigating | | + | [4get](https://git.coopcloud.tech/coop-cloud/4get.git) | Investigating | | + | [invoiceninja](https://git.coopcloud.tech/coop-cloud/invoiceninja.git) | Investigating | | + | [calibre-web](https://git.coopcloud.tech/coop-cloud/calibre-web.git) | Investigating | | + | [wordpress](https://git.coopcloud.tech/coop-cloud/wordpress.git) | Fixed ✅ | Upgrade to Co-op Cloud wordpress 4.2.0+7.1.4, or make sure you are already upgraded | + | [photoprism](https://git.coopcloud.tech/coop-cloud/photoprism.git) | Investigating | | + | [n8n](https://git.coopcloud.tech/coop-cloud/n8n.git) | Investigating | | + | [lemmy](https://git.coopcloud.tech/coop-cloud/lemmy.git) | Pending | | + | [penpot](https://git.coopcloud.tech/coop-cloud/penpot.git) | Investigating | | + + +## Check if your deployment is affected +1. Review the affected recipes list above. +2. For each app, run `abra app run app -- gs --version` and make sure that the version is 10.08.0 or greater. The security fix has also been back ported on Debian. +3. For Debian based systems with vulnerable ghostscript version, run `abra app run app -- dpkg -l ghostscript` and compare to the [Debian advisory version](https://security-tracker.debian.org/tracker/CVE-2026-39919) + + | Debian repository | Ghostscript version | status | + |---------------------------|------------------------|----------------| + | bookworm | 10.0.0~dfsg-11+deb12u8 | :x: vulnerable | + | bookworm (security) | 10.0.0~dfsg-11+deb12u9 | ✅ fixed | + | trixie (security), trixie | 10.05.1~dfsg-1+deb13u3 | ✅ fixed | + | forky, sid | 10.08.0~dfsg-2 | ✅ fixed | + + + + +## Automated checking with `cc-runall` +1. Download or `git clone` the [`cc-runall` script](https://git.coopcloud.tech/toolshed/cc-scripts/src/branch/main/cc-runall) +2. Download `jq` (either through distribution repositories, or [from the same repo](https://git.coopcloud.tech/toolshed/cc-scripts/src/branch/main/bin/jq)) +3. `./cc-runall wordpress app "gs --version"` + + + +## Upstream Information + +- [CVE-2026-125396](https://www.cve.org/CVERecord?id=CVE-2026-125396) +- [Security Vendor writeup](https://pwn.ai/upload2shell/research.html) +- [Debian security advisory for CVE-2026-39919](https://security-tracker.debian.org/tracker/CVE-2026-39919) diff --git a/docs/operators/security/CCSA.md.tmpl b/docs/operators/security/CCSA.md.tmpl index 1b8f190..32b2248 100644 --- a/docs/operators/security/CCSA.md.tmpl +++ b/docs/operators/security/CCSA.md.tmpl @@ -1,7 +1,8 @@ -