CVE-2019-19316: Use of a Broken or Risky Cryptographic Algorithm in Terraform

Summary

21/08/2024
Yes i
High
7.5

CVE-2019-19316: Use of a Broken or Risky Cryptographic Algorithm in Terraform in github.com/hashicorp/terraform. Affects github.com/hashicorp/terraform versions < 0.12.17. Fixed in 0.12.17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Terraform is an open-source infrastructure as code software tool developed by HashiCorp. It allows users to define and provision infrastructure resources in a declarative configuration language. Terraform supports various cloud providers and services, enabling the creation and management of infrastructure in a consistent and efficient manner. However, a vulnerability has been identified in Terraform that involves the use of a broken or risky cryptographic algorithm.

Vulnerability Detail

The vulnerability in Terraform arises from the use of a cryptographic algorithm that is either broken or considered risky. This can lead to various security issues, such as weak encryption, insecure key generation, or susceptibility to cryptographic attacks. Attackers may exploit this vulnerability to gain unauthorized access, tamper with infrastructure resources, or compromise sensitive data. The vulnerability affects versions of Terraform prior to 0.12.17.

How To Fix

Latest published version: v1.17.0 as of 22 Oct 2026

go get github.com/hashicorp/terraform@v1.17.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.17

This is the first release that contains the fix.

go get github.com/hashicorp/terraform@v0.12.17

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The use of a broken or risky cryptographic algorithm in Terraform poses a significant security risk. It is crucial to update to the latest version of Terraform (0.12.17 or later) to mitigate this vulnerability and ensure the security of infrastructure resources and sensitive data.

See every vulnerability recorded for github.com/hashicorp/terraform →

Share this vulnerability

FAQ

Terraform is an open-source infrastructure as code software tool developed by HashiCorp. It allows users to define and provision infrastructure resources in a declarative configuration language.

The vulnerability in Terraform can lead to various security issues, such as weak encryption, insecure key generation, or susceptibility to cryptographic attacks. Attackers may exploit this vulnerability to gain unauthorized access, tamper with infrastructure resources, or compromise sensitive data.

Versions of Terraform prior to 0.12.17 are affected by this vulnerability.

To fix this vulnerability, it is recommended to update Terraform to version 0.12.17 or later. This update includes patches and improvements to the cryptographic algorithms used, ensuring stronger security and mitigating the risk of exploitation.

You can find more information about this vulnerability in the official Terraform documentation or the vulnerability database provided by the Go ecosystem.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/hashicorp/terraform.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: v1.17.0 as of 22 Oct 2026

go get github.com/hashicorp/terraform@v1.17.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.12.17

This is the first release that contains the fix.

go get github.com/hashicorp/terraform@v0.12.17

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback