Heroku-18, Heroku-20 and Heroku-22 stack images updated

Change effective on 17 April 2023

We have updated the heroku-18, heroku-20 and heroku-22 stack images to pick up security fixes in upstream packages. The new stack images will be rolled out automatically to the Common Runtime over the next 48 hours, followed by Private Spaces.

If you are using Heroku’s default buildpack-powered build system/stacks you do not need to redeploy your app to pick up these changes, since your application’s slug is applied on top of the most recent stack image each time a dyno starts. Currently running dynos will be automatically restarted, so there is no need to manually restart your app.

If your app instead uses Heroku’s container stack (most apps do not), you will need to rebuild your app’s Docker image in order to pick up any updates in the base image specified in your Dockerfile.

See this Dev Center article for an overview of the packages available in each stack image.

The Heroku-18 stack is deprecated and will reach end-of-life on April 30th, 2023. Please upgrade to a newer stack as soon as possible. See the Heroku-18 End-Of-Life FAQ for more details.

Changelog of packages

The following packages have been changed; a separate section for each stack (if applicable) lists packages that are only available at build time, but not at runtime.

Stack: heroku-18

  • Updated apt from version 1.6.14 to 1.6.17
  • Updated apt-transport-https from version 1.6.14 to 1.6.17
  • Updated apt-utils from version 1.6.14 to 1.6.17
  • Updated distro-info-data from version 0.37ubuntu0.15 to 0.37ubuntu0.16
  • Updated ghostscript from version 9.26~dfsg+0-0ubuntu0.18.04.17 to 9.26~dfsg+0-0ubuntu0.18.04.18
  • Updated libapt-inst2.0 from version 1.6.14 to 1.6.17
  • Updated libapt-pkg5.0 from version 1.6.14 to 1.6.17
  • Updated libgs9 from version 9.26~dfsg+0-0ubuntu0.18.04.17 to 9.26~dfsg+0-0ubuntu0.18.04.18
  • Updated libgs9-common from version 9.26~dfsg+0-0ubuntu0.18.04.17 to 9.26~dfsg+0-0ubuntu0.18.04.18
  • Updated tzdata from version 2022g-0ubuntu0.18.04 to 2023c-0ubuntu0.18.04

Updates to packages available at build time only

  • Updated libapt-pkg-dev from version 1.6.14 to 1.6.17
  • Updated libgs-dev from version 9.26~dfsg+0-0ubuntu0.18.04.17 to 9.26~dfsg+0-0ubuntu0.18.04.18

Stack: heroku-20

  • Updated distro-info-data from version 0.43ubuntu1.11 to 0.43ubuntu1.12
  • Updated ghostscript from version 9.50~dfsg-5ubuntu4.6 to 9.50~dfsg-5ubuntu4.7
  • Updated libgs9 from version 9.50~dfsg-5ubuntu4.6 to 9.50~dfsg-5ubuntu4.7
  • Updated libgs9-common from version 9.50~dfsg-5ubuntu4.6 to 9.50~dfsg-5ubuntu4.7
  • Updated libsystemd0 from version 245.4-4ubuntu3.20 to 245.4-4ubuntu3.21
  • Updated libudev1 from version 245.4-4ubuntu3.20 to 245.4-4ubuntu3.21
  • Updated tzdata from version 2022g-0ubuntu0.20.04.1 to 2023c-0ubuntu0.20.04.0

Updates to packages available at build time only

  • Updated libgs-dev from version 9.50~dfsg-5ubuntu4.6 to 9.50~dfsg-5ubuntu4.7
  • Updated libsystemd-dev from version 245.4-4ubuntu3.20 to 245.4-4ubuntu3.21
  • Updated libudev-dev from version 245.4-4ubuntu3.20 to 245.4-4ubuntu3.21

Stack: heroku-22

  • Updated distro-info-data from version 0.52ubuntu0.2 to 0.52ubuntu0.3
  • Updated ghostscript from version 9.55.0~dfsg1-0ubuntu5.1 to 9.55.0~dfsg1-0ubuntu5.2
  • Updated libgs9 from version 9.55.0~dfsg1-0ubuntu5.1 to 9.55.0~dfsg1-0ubuntu5.2
  • Updated libgs9-common from version 9.55.0~dfsg1-0ubuntu5.1 to 9.55.0~dfsg1-0ubuntu5.2
  • Updated libldap-2.5-0 from version 2.5.14+dfsg-0ubuntu0.22.04.1 to 2.5.14+dfsg-0ubuntu0.22.04.2
  • Updated libsystemd0 from version 249.11-0ubuntu3.7 to 249.11-0ubuntu3.9
  • Updated libudev1 from version 249.11-0ubuntu3.7 to 249.11-0ubuntu3.9
  • Updated systemd from version 249.11-0ubuntu3.7 to 249.11-0ubuntu3.9
  • Updated tzdata from version 2022g-0ubuntu0.22.04.1 to 2023c-0ubuntu0.22.04.0

Updates to packages available at build time only

  • Updated libgs-dev from version 9.55.0~dfsg1-0ubuntu5.1 to 9.55.0~dfsg1-0ubuntu5.2
  • Updated libldap-dev from version 2.5.14+dfsg-0ubuntu0.22.04.1 to 2.5.14+dfsg-0ubuntu0.22.04.2
  • Updated libldap2-dev from version 2.5.14+dfsg-0ubuntu0.22.04.1 to 2.5.14+dfsg-0ubuntu0.22.04.2
  • Updated libsystemd-dev from version 249.11-0ubuntu3.7 to 249.11-0ubuntu3.9
  • Updated libudev-dev from version 249.11-0ubuntu3.7 to 249.11-0ubuntu3.9