{"id":"CVE-2024-41961","state":"PUBLISHED","title":"Elektra vulnerable to remote code execution in universal search","description":"Elektra is an opinionated Openstack Dashboard for Operators and Consumers of Openstack Services. A code injection vulnerability was found in the live search functionality of the Ruby on Rails based Elektra web application. An authenticated user can craft a search term containing Ruby code, which later flows into an `eval` sink which executes the code. Fixed in commit 8bce00be93b95a6512ff68fe86bf9554e486bc02.","publishedAt":"2024-08-01T14:33:46.684Z","updatedAt":"2024-08-07T14:23:43.106Z","severity":{"score":9.2,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H/E:X/RL:O/RC:C","source":"GitHub_M"},"assigner":"GitHub_M","products":["sapcc elektra"],"affected":[{"vendor":"sapcc","product":"elektra","versions":[{"version":"< 8bce00be93b95a6512ff68fe86bf9554e486bc02","status":"affected"}]}],"references":["https://github.com/sapcc/elektra/security/advisories/GHSA-6j2h-486h-487q","https://github.com/sapcc/elektra/commit/49aea3b365082681558bf3bf7bf4a51766cfc44d","https://github.com/sapcc/elektra/commit/8bce00be93b95a6512ff68fe86bf9554e486bc02"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/41xxx/CVE-2024-41961.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-41961","state":"PUBLISHED","datePublished":"2024-08-01T14:33:46.684Z","dateUpdated":"2024-08-07T14:23:43.106Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-07-24T16:51:40.951Z"},"containers":{"cna":{"title":"Elektra vulnerable to remote code execution in universal search","descriptions":[{"lang":"en","value":"Elektra is an opinionated Openstack Dashboard for Operators and Consumers of Openstack Services. A code injection vulnerability was found in the live search functionality of the Ruby on Rails based Elektra web application. An authenticated user can craft a search term containing Ruby code, which later flows into an `eval` sink which executes the code. Fixed in commit 8bce00be93b95a6512ff68fe86bf9554e486bc02."}],"affected":[{"vendor":"sapcc","product":"elektra","versions":[{"version":"< 8bce00be93b95a6512ff68fe86bf9554e486bc02","status":"affected"}]}],"references":[{"url":"https://github.com/sapcc/elektra/security/advisories/GHSA-6j2h-486h-487q","name":"https://github.com/sapcc/elektra/security/advisories/GHSA-6j2h-486h-487q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sapcc/elektra/commit/49aea3b365082681558bf3bf7bf4a51766cfc44d","name":"https://github.com/sapcc/elektra/commit/49aea3b365082681558bf3bf7bf4a51766cfc44d","tags":["x_refsource_MISC"]},{"url":"https://github.com/sapcc/elektra/commit/8bce00be93b95a6512ff68fe86bf9554e486bc02","name":"https://github.com/sapcc/elektra/commit/8bce00be93b95a6512ff68fe86bf9554e486bc02","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.2,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H/E:X/RL:O/RC:C","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-08-01T14:33:46.684Z"},"source":{"advisory":"GHSA-6j2h-486h-487q","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"sapcc","product":"elektra","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"8bce00be93b95a6512ff68fe86bf9554e486bc02","versionType":"custom"}],"cpes":["cpe:2.3:a:sapcc:elektra:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-07T14:22:09.735872Z","id":"CVE-2024-41961","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-07T14:23:43.106Z"}}]}}}