{"id":"GHSA-4wpp-w5r4-7v5v","summary":"Server-Side Request Forgery in charm","details":"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](https://github.com/charmbracelet/charm/releases/tag/v0.12.1). We recommend that all users running self-hosted `charm` instances update immediately.\n\nThis vulnerability was found in-house and we haven't been notified of any potential exploiters.\n\n### Additional notes\n\n* 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.\n* 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.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open a [discussion](https://github.com/charmbracelet/charm/discussions)\n* Email us at [vt100@charm.sh](mailto:vt100@charm.sh)\n* Chat with us on [Slack](https://charm.sh/slack)\n\n* * *\n\n\u003ca href=\"https://charm.sh/\"\u003e\u003cimg alt=\"the Charm logo\" src=\"https://stuff.charm.sh/charm-badge.jpg\" width=\"400\"\u003e\u003c/a\u003e\n\nCharm热爱开源 • Charm loves open source","aliases":["CVE-2022-29180","GO-2022-0449"],"modified":"2024-08-21T15:41:55.167798Z","published":"2022-05-24T20:55:22Z","database_specific":{"github_reviewed_at":"2022-05-24T20:55:22Z","nvd_published_at":"2022-05-07T04:15:00Z","cwe_ids":["CWE-918"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/charmbracelet/charm/security/advisories/GHSA-4wpp-w5r4-7v5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29180"},{"type":"WEB","url":"https://github.com/charmbracelet/charm/commit/3c90668f955c7ce5ef721e4fc9faee7053232fd3"},{"type":"PACKAGE","url":"https://github.com/charmbracelet/charm"}],"affected":[{"package":{"name":"github.com/charmbracelet/charm","ecosystem":"Go","purl":"pkg:golang/github.com/charmbracelet/charm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.0"},{"fixed":"0.12.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4wpp-w5r4-7v5v/GHSA-4wpp-w5r4-7v5v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}