Skip to content

Critical Vulnerability

Critical
toby published GHSA-4wpp-w5r4-7v5v May 6, 2022

Package

gomod github.com/charmbracelet/charm (Go)

Affected versions

>= v0.9.0 && < v0.12.1

Patched versions

v0.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 3c90668 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:


the Charm logo

Charm热爱开源 • Charm loves open source

Severity

Critical

CVE ID

CVE-2022-29180

Weaknesses

No CWEs