5.9medium
Charm vulnerable to server-side request forgery (SSRF)
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.80% (higher than 54% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4wpp-w5r4-7v5vGO-2022-0449
Description
A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the server. This has been patched and is available in release [v0.12.1](https://github.com/charmbracelet/charm/releases/tag/v0.12.1). We recommend that all users running self-hosted `charm` instances update immediately. This vulnerability was found in-house and we haven't been notified of any potential exploiters. ### Additional notes * Encrypted user data uploaded to the Charm server is safe as Charm servers cannot decrypt user data. This includes filenames, paths, and all key-value data. * Users running the official Charm [Docker images](https://github.com/charmbracelet/charm/blob/main/docker.md) are at minimal risk because the exploit is limited to the containerized filesystem.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| charmbracelet charm | >= 0.9.0, < 0.12.1 | CVE List |
| github.com/charmbracelet/charm (Go) | from 0.9.0 before 0.12.1 | GitHub Advisory Database, Go Vulnerability Database |
| charm charm | from 0.9.0 before 0.12.1 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the server. This has been patched and is available in release [v0.12.1](https://github.com/charmbracelet/charm/releases/tag/v0.12.1). We recommend that all users running self-hosted `charm` instances update immediately. This vulnerability was found in-house and we haven't been notified of any potential exploiters. ### Additional notes * Encrypted user data uploaded to the Charm server is safe as Charm servers cannot decrypt user data. This includes filenames, paths, and all key-value data. * Users running the official Charm [Docker images](https://github.com/charmbracelet/charm/blob/main/docker.md) are at minimal risk because the exploit is limited to the containerized filesystem.
GitHub Advisory Database
We've discovered a vulnerability in which attackers could forge HTTP requests to manipulate the charm data directory to access or delete anything on the server. This has been patched in https://github.com/charmbracelet/charm/commit/3c90668f955c7ce5ef721e4fc9faee7053232fd3 and is available in release v0.12.1. We recommend that all users running self-hosted charm instances update immediately.
This vulnerability was found in-house and we haven't been notified of any potential exploiters.
Additional notes
- Encrypted user data uploaded to the Charm server is safe as Charm servers cannot decrypt user data. This includes filenames, paths, and all key-value data.
- Users running the official Charm Docker images are at minimal risk because the exploit is limited to the containerized filesystem.
For more information
If you have any questions or comments about this advisory:
- Open a discussion
- Email us at vt100@charm.sh
- Chat with us on Slack
<a href="https://charm.sh/">the Charm logo</a>
Charm热爱开源 • Charm loves open source
Go Vulnerability Database
Server-Side Request Forgery in charm in github.com/charmbracelet/charm
NVD (es)
Una vulnerabilidad en la que los atacantes podían falsificar peticiones HTTP para manipular el directorio de datos "charm" para acceder o eliminar cualquier cosa en el servidor. Esto ha sido parcheado y está disponible en versión [v0.12.1](https://github.com/charmbracelet/charm/releases/tag/v0.12.1). Recomendamos a todos los usuarios que ejecuten instancias de "charm" autoalojadas que actualicen inmediatamente. Esta vulnerabilidad fue encontrada internamente y no hemos sido notificados de ningún potencial explotador. ### Notas adicionales ### Los datos de usuario encriptados que son subidos al servidor de Charm son seguros, ya que los servidores de Charm no pueden desencriptar los datos del usuario. Esto incluye nombres de archivos, rutas y todos los datos de valor clave. * Los usuarios que ejecutan las [imágenes Docker] oficiales de Charm (https://github.com/charmbracelet/charm/blob/main/docker.md) corren un riesgo mínimo porque la explotación es limitada al sistema de archivos en contenedores
References
| https://github.com/charmbracelet/charm/security/advisories/GHSA-4wpp-w5r4-7v5v | advisory, patch, release-notes, third-party-advisory, web | |
| https://github.com/charmbracelet/charm/commit/3c90668f955c7ce5ef721e4fc9faee7053232fd3 | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-29180 | advisory | |
| https://github.com/charmbracelet/charm | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-29180 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4wpp-w5r4-7v5v changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0449 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-29180 changed 2026-06-17 | Public domain |