GitHub Advisoryadvisory · Go

GHSA-4wpp-w5r4-7v5v Server-Side Request Forgery in charm

CRITICAL Published 2022-05-24 Modified 2022-05-24 Official page ↗
Aliases
CVE-2022-29180
Ecosystem
Go
Packages
github.com/charmbracelet/charm
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-918
Reviewed
2022-05-24

Affected packages

• Go github.com/charmbracelet/charm: >= 0.9.0, < 0.12.1 → fixed in 0.12.1

Description

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 [email protected] • Chat with us on Slack • * * Charm热爱开源 • Charm loves open source

Related

Alias · CVE (1)

  • CVE-2022-29180 A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the… vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References