GHSA-wvp2-4qqp-4h3r: SSRF
Impact
When making an external request, it is possible to bypass the IP filter that ensures the request isn't going to an internal service using an IPv6 literal which maps to a private IPv4 address.
Vulnerable versions
This vulnerability is present in Ghost from v6.0.9 up to v6.21.0.
Patches
v6.21.1 contains a fix for this issue.
How to update
For self-hosters using Docker, find Docker's official Ghost image here. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
References
Ghost thanks l3tchupkt for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/ghostto a version that resolves this vulnerability.Fixed in 6.21.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in v6.21.1
Event History
Frequently Asked Questions
What is the severity of GHSA-wvp2-4qqp-4h3r?
GHSA-wvp2-4qqp-4h3r has a medium severity rating of 5.8.
How do I fix GHSA-wvp2-4qqp-4h3r?
To fix GHSA-wvp2-4qqp-4h3r, update Ghost to a version later than v6.21.0.
What impact does GHSA-wvp2-4qqp-4h3r have?
GHSA-wvp2-4qqp-4h3r allows an attacker to bypass the IP filter by making an external request using an IPv6 literal that maps to a private IPv4 address.
Which versions of Ghost are affected by GHSA-wvp2-4qqp-4h3r?
Ghost versions from v6.0.9 up to v6.21.0 are vulnerable to GHSA-wvp2-4qqp-4h3r.
What type of vulnerability is GHSA-wvp2-4qqp-4h3r classified as?
GHSA-wvp2-4qqp-4h3r is classified as a Server-Side Request Forgery (SSRF) vulnerability.