CVE-2023-42658: InSpec Archive Command Vulnerable to Maliciously Crafted Profile
Vulnerability summary
CVE-2023-42658 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in chef inspec. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.6% of scored vulnerabilities.
Not severe (CVSS 8.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 31-10-2023PublishedVulnerability first disclosed.
- 06-09-2024Last modifiedVulnerability information updated.
Description
Archive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of CodeThe 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.
- CWE-917Improper Neutralization of Special Elements used in an Expression Language StatementThe 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.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chef1 product
- inspec< 4.56.58 | ≥ 5.0.0, < 5.22.29
Progress software corporation1 product
- chef inspec≥ 4.0.0, < 4.56.58 | ≥ 5.0.0, < 5.22.29
2 vendors · 2 products