{"api_version":"1","generated_at":"2026-07-23T18:38:56+00:00","cve":"CVE-2023-42658","urls":{"html":"https://cve.report/CVE-2023-42658","api":"https://cve.report/api/cve/CVE-2023-42658.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-42658","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-42658"},"summary":{"title":"CVE-2023-42658","description":"Archive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.","state":"PUBLIC","assigner":"security@progress.com","published_at":"2023-10-31 15:15:00","updated_at":"2023-11-08 17:38:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","name":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","refsource":"MISC","tags":[],"title":"Progress Customer Community","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.chef.io/release_notes_inspec/","name":"https://docs.chef.io/release_notes_inspec/","refsource":"MISC","tags":[],"title":"Chef InSpec Release Notes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.chef.io/inspec/cli/","name":"https://docs.chef.io/inspec/cli/","refsource":"MISC","tags":[],"title":"InSpec CLI","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-42658","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42658","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"42658","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"chef","cpe5":"inspec","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-42658","ASSIGNER":"security@progress.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"\nArchive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]},{"description":[{"lang":"eng","value":"CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')","cweId":"CWE-917"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Progress Software Corporation","product":{"product_data":[{"product_name":"Chef InSpec","version":{"version_data":[{"version_value":"not down converted","x_cve_json_5_version_data":{"versions":[{"lessThan":"4.56.58 ","status":"affected","version":"4.0.0","versionType":"semver"},{"lessThan":"5.22.29","status":"affected","version":"5.0.0","versionType":"semver"}],"defaultStatus":"affected"}}]}}]}}]}},"references":{"reference_data":[{"url":"https://docs.chef.io/release_notes_inspec/","refsource":"MISC","name":"https://docs.chef.io/release_notes_inspec/"},{"url":"https://docs.chef.io/inspec/cli/","refsource":"MISC","name":"https://docs.chef.io/inspec/cli/"},{"url":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","refsource":"MISC","name":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"work_around":[{"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"}],"solution":[{"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"}],"credits":[{"lang":"en","value":"HackerOne - tas50"}],"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-10-31 15:15:00","lastModifiedDate":"2023-11-08 17:38:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:chef:inspec:*:*:*:*:*:*:*:*","versionEndExcluding":"4.56.58","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:chef:inspec:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.22.29","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}