{"id":"CVE-2024-47180","published":"2024-09-26T19:21:04Z","modified":"2024-09-26T19:47:50Z","title":"Shields.io Remote Code Execution vulnerability in Dynamic JSON/TOML/YAML badges","vendor":"badges","product":"shields","tier":"tail","description":{"text":"Shields.io is a service for concise, consistent, and legible badges in SVG and raster format. Shields.io and users self-hosting their own instance of shields using version < `server-2024-09-25` are vulnerable to a remote execution vulnerability via the JSONPath library used by the Dynamic JSON/Toml/Yaml badges. This vulnerability would allow any user with access to make a request to a URL on the instance to the ability to execute code by crafting a malicious JSONPath expression. All users who self-host an instance are vulnerable. This problem was fixed in server-2024-09-25. Those who follow the tagged releases should update to `server-2024-09-25` or later. Those who follow the rolling tag on DockerHub, `docker pull shieldsio/shields:next` to update to the latest version. As a workaround, blocking access to the endpoints `/badge/dynamic/json`, `/badge/dynamic/toml`, and `/badge/dynamic/yaml` (e.g: via a firewall or reverse proxy in front of your instance) would prevent the exploitable endpoints from being accessed.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01906,"percentile":0.80301,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/badges/shields/security/advisories/GHSA-rxvx-x284-4445","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/badges/shields/issues/10553","tags":["x_refsource_MISC"]},{"url":"https://github.com/badges/shields/pull/10551","tags":["x_refsource_MISC"]},{"url":"https://github.com/badges/shields/commit/ec1b6c8daccda075403c1688ac02603f7aaa50b2","tags":["x_refsource_MISC"]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":16.06},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"badges","affectedVersions":[{"vendor":"badges","product":"shields","versions":["< server-2024-09-25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-26T19:45:53.317118Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42301","exploited":false,"provenance":"source"}}