VDB
KO
MEDIUM 5.5

GHSA-cj62-hvv2-2q5h

Ghost: Database Backup Path Traversal

Quick fix

GHSA-cj62-hvv2-2q5h — ghost: upgrade to the fixed version with the command below.

npm install ghost@6.54.1

Details

### Impact

An Administrator-level user could remotely overwrite certain files on the filesystem leading to integrity and availability issues.

### Vulnerable versions

This vulnerability is present in Ghost from 1.20.1 up to v6.54.0.

### Patches

v6.54.1 contains a fix for this issue.

### How to update

For self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost).

If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update).

### Workarounds

If upgrading immediately is not possible, set *disableJSBackups* to "true" by running:

```sh $ ghost config set disableJSBackups true $ ghost restart ```

### References

Ghost thanks Jorian Woltjer of Aikido Security, Mitchell Benjamin of Revamp Studio, and meifukun for disclosing this vulnerability responsibly.

### For more information

If you have any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ghost
Introduced in: 1.20.1 Fixed in: 6.54.1
Fix npm install ghost@6.54.1

References