{"id":"CVE-2023-42658","state":"PUBLISHED","title":"InSpec Archive Command Vulnerable to Maliciously Crafted Profile","description":"\nArchive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.","publishedAt":"2023-10-31T14:08:03.537Z","updatedAt":"2024-09-06T16:00:52.926Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"ProgressSoftware"},"assigner":"ProgressSoftware","products":["Progress Software Corporation Chef InSpec"],"affected":[{"vendor":"Progress Software Corporation","product":"Chef InSpec","packageName":"InSpec","defaultStatus":"affected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.56.58 ","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.22.29","versionType":"semver"}],"collectionURL":"https://community.chef.io/downloads/tools/inspec?os=windows","modules":["InSpec Archive","InSpec Check","InSpec Export"],"platforms":["Windows","Linux","MacOS"],"repo":"https://github.com/inspec/inspec"}],"references":["https://docs.chef.io/release_notes_inspec/","https://docs.chef.io/inspec/cli/","https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658"],"weaknesses":["CWE-94","CWE-917"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/42xxx/CVE-2023-42658.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-42658","state":"PUBLISHED","datePublished":"2023-10-31T14:08:03.537Z","dateUpdated":"2024-09-06T16:00:52.926Z","assignerShortName":"ProgressSoftware","assignerOrgId":"f9fea0b6-671e-4eea-8fde-31911902ae05","dateReserved":"2023-09-12T13:30:29.571Z"},"containers":{"cna":{"title":"InSpec Archive Command Vulnerable to Maliciously Crafted Profile","descriptions":[{"lang":"en","value":"\nArchive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile."}],"affected":[{"vendor":"Progress Software Corporation","product":"Chef InSpec","packageName":"InSpec","defaultStatus":"affected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.56.58 ","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.22.29","versionType":"semver"}],"collectionURL":"https://community.chef.io/downloads/tools/inspec?os=windows","modules":["InSpec Archive","InSpec Check","InSpec Export"],"platforms":["Windows","Linux","MacOS"],"repo":"https://github.com/inspec/inspec"}],"references":[{"url":"https://docs.chef.io/release_notes_inspec/","tags":["release-notes"]},{"url":"https://docs.chef.io/inspec/cli/","tags":["release-notes"]},{"url":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-917","description":"CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"ProgressSoftware","orgId":"f9fea0b6-671e-4eea-8fde-31911902ae05","dateUpdated":"2023-10-31T15:14:29.727Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"HackerOne - tas50"}],"impacts":[{"capecId":"CAPEC-549","descriptions":[{"lang":"en","value":"CAPEC-549 Local Execution of Code"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"\n\n<strong>Solution (optional): </strong>Customers should adopt the latest releases of InSpec on the 4, 5, and 6 supported versions available from the community and customer downloads portals.\n\n<br>"}],"value":"\nSolution (optional): Customers should adopt the latest releases of InSpec on the 4, 5, and 6 supported versions available from the community and customer downloads portals.\n\n\n"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"\n\n<strong>Workaround (optional): </strong>Chef recommends all users to manually inspect and lint with a tool similar to test-kitchen all profiles and cookbooks prior to usage in production.\n\n<br>"}],"value":"\nWorkaround (optional): Chef recommends all users to manually inspect and lint with a tool similar to test-kitchen all profiles and cookbooks prior to usage in production.\n\n\n"}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://docs.chef.io/release_notes_inspec/","tags":["release-notes","x_transferred"]},{"url":"https://docs.chef.io/inspec/cli/","tags":["release-notes","x_transferred"]},{"url":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T19:23:40.222Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"chef","product":"inspec","defaultStatus":"unknown","versions":[{"version":"4.0","status":"affected","lessThan":"4.56.58","versionType":"custom"},{"version":"5.0","status":"affected","lessThan":"5.22.29","versionType":"custom"},{"version":"0","status":"affected","lessThan":"4.0","versionType":"custom"}],"cpes":["cpe:2.3:a:chef:inspec:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-06T15:43:59.488901Z","id":"CVE-2023-42658","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-09-06T16:00:52.926Z"}}]}}}