{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.56.58"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.22.29"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e0fd1a204c318094cacbd24aadf6f74a3d49fc20"
            },
            {
              "introduced": "3ce1a3f4506174074bc7e6b6c11526d9a7bb79ac"
            },
            {
              "fixed": "0eb1d36b0765313ac4eeeefecbeae82e97c44acc"
            }
          ],
          "repo": "https://github.com/inspec/inspec",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "\nArchive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.",
  "id": "CVE-2023-42658",
  "modified": "2026-04-01T23:09:43.179812108Z",
  "published": "2023-10-31T15:15:09.393Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://community.progress.com/s/article/Product-Alert-Bulletin-October-2023-CHEF-Inspec-CVE-2023-42658"
    },
    {
      "type": "ADVISORY",
      "url": "https://docs.chef.io/inspec/cli/"
    },
    {
      "type": "ADVISORY",
      "url": "https://docs.chef.io/release_notes_inspec/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}