{"schemaVersion":3,"id":"CVE-2023-42658","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Archive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.","dates":{"published":"2023-10-31T14:08:03.537Z","modified":"2024-09-06T16:00:52.926Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00283,"percentile":0.19666,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00283},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00283,"percentile":0.19666}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00283,"percentile":0.19666}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')","description":"The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/917.html"}],"affected":[{"vendor":"chef","product":"inspec","name":"inspec","label":"inspec","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.56.58","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.22.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.56.58 | ≥ 5.0.0, < 5.22.29","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"chef-inspec","label":"Chef InSpec","category":"app"}},"hubHref":"/vendor/chef/inspec"},{"vendor":"progress software corporation","product":"chef inspec","name":"Chef InSpec","label":"chef inspec","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.56.58","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.22.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.56.58 | ≥ 5.0.0, < 5.22.29","eol":null,"hubHref":"/vendor/progress_software_corporation/chef_inspec"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.chef.io/release_notes_inspec/","label":"docs.chef.io/release_notes_inspec/","hostname":"docs.chef.io","tags":["Release Notes","Vendor Advisory"]},{"url":"https://docs.chef.io/inspec/cli/","label":"docs.chef.io/inspec/cli/","hostname":"docs.chef.io","tags":["Release Notes","Vendor Advisory"]},{"url":"https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","label":"community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658","hostname":"community.progress.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-10-31T14:08:03.537Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-06T16:00:52.926Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:14:06.713Z","stale":false,"partial":false}}