# ChefDK 1.2.22 (hotfix) Released

**URL:** <https://discourse.chef.io/t/chefdk-1-2-22-hotfix-released/10353>\
**Category:** Chef Release Announcements\
**Created:** [February 2, 2017, 9:14pm UTC](https://discourse.chef.io/t/chefdk-1-2-22-hotfix-released/10353 "2017-02-02T21:14:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomduffield](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tomduffield/32/950_2.png) [@tomduffield](https://discourse.chef.io/u/tomduffield)\
**Post date:** [February 2, 2017, 9:14pm UTC](https://discourse.chef.io/t/chefdk-1-2-22-hotfix-released/10353/1 "2017-02-02T21:14:10Z")

</div>

Ohai Chefs!

In response to a security incident with mixlib-archive, a component used by ChefDK, we have release ChefDK 1.2.22.

# Release Highlights

This is a hotfix release to address a security vulnerability exposed through [mixlib-archive](https://github.com/chef/mixlib-archive) which allowed a berkshelf or chef install to overwrite local files by giving them a malicious tarball that was specially crafted.

## Notable Updated Gems

- berkshelf 5.2.0 -\> 5.6.0
- cookbook-omnifetch 0.5.0 -\> 0.5.1
- foodcritic 8.2.0 -\> 9.0.0
- inspec 1.10.0 -\> 1.11.0
- knife-windows 1.8.0 -\> 1.9.0
- mixlib-archive 0.3.0 -\> 0.4.1
- mixlib-install 2.1.10 -\> 2.1.11

Please see the [CHANGELOG](https://github.com/chef/chef-dk/blob/master/CHANGELOG.md) for the complete list of changes.

# Get the Build

As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chefdk/1.2.22) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.

```auto
$ mixlib-install download chefdk -v 1.2.22

```

Alternatively, you can install ChefDK using one of the following command options:

```auto
# In Shell
$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chefdk -v 1.2.22

# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chefdk -version 1.2.22

```

If you want to give this version a spin in Test Kitchen, create or add the following to a `.kitchen.local.yml` file:

```auto
provisioner:
  product_name: chefdk
  product_version: 1.2.22

```
